Skip to content

Commit 2494e04

Browse files
authored
Merge pull request #42 from msgflo/greenkeeper/mocha-4.0.0
Update mocha to the latest version 🚀
2 parents 98c30d7 + 559b5f9 commit 2494e04

2 files changed

Lines changed: 3 additions & 16 deletions

File tree

Gruntfile.coffee

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ module.exports = ->
2020
reporter: 'spec'
2121
grep: process.env.TESTS
2222

23-
# Coding standards
24-
coffeelint:
25-
components:
26-
files:
27-
src: ['spec/*.coffee', 'src/*.coffee', 'src/runtimes/*.coffee', 'src/utils/*.coffee']
28-
options:
29-
max_line_length:
30-
value: 100
31-
level: 'warn'
32-
3323
# Protocol tests
3424
shell:
3525
msgflo:
@@ -44,7 +34,6 @@ module.exports = ->
4434

4535
# Grunt plugins used for testing
4636
@loadNpmTasks 'grunt-mocha-test'
47-
@loadNpmTasks 'grunt-coffeelint'
4837
@loadNpmTasks 'grunt-shell-spawn'
4938
@loadNpmTasks 'grunt-contrib-coffee'
5039

@@ -58,7 +47,6 @@ module.exports = ->
5847
@registerTask 'build', 'Build the chosen target platform', ['coffee']
5948

6049
@registerTask 'test', 'Build and run automated tests', (target = 'all') =>
61-
@task.run 'coffeelint'
6250
@task.run 'build'
6351
@task.run 'mochaTest'
6452
# @task.run 'fbp-test'

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@
2222
},
2323
"devDependencies": {
2424
"amqplib": "^0.5.1",
25-
"chai": "~4.1.0",
26-
"grunt": "~1.0.1",
25+
"chai": "^4.1.0",
26+
"grunt": "^1.0.1",
2727
"coffee-script": "^1.8.0",
28-
"grunt-coffeelint": "~0.0.6",
2928
"grunt-contrib-coffee": "^1.0.0",
3029
"grunt-mocha-test": "^0.13.2",
3130
"grunt-shell-spawn": "^0.3.1",
32-
"mocha": "~3.5.0",
31+
"mocha": "^4.0.0",
3332
"mqtt": "^2.7.1"
3433
},
3534
"keywords": [],

0 commit comments

Comments
 (0)