Force the mocha tests order
This commit is contained in:
parent
288a133126
commit
2dd5b570a6
3 changed files with 19 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "grunt dev",
|
"start": "grunt dev",
|
||||||
"test": "grunt build && standard && mocha test/api"
|
"test": "grunt build && standard && mocha test"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"async": "^1.2.1",
|
"async": "^1.2.1",
|
||||||
|
@ -74,7 +74,8 @@
|
||||||
"afterEach",
|
"afterEach",
|
||||||
"before",
|
"before",
|
||||||
"beforeEach",
|
"beforeEach",
|
||||||
"describe"
|
"describe",
|
||||||
|
"include"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
10
test/api/index.js
Normal file
10
test/api/index.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
;(function () {
|
||||||
|
'use strict'
|
||||||
|
|
||||||
|
// Order of the tests we want to execute
|
||||||
|
require('./checkParams')
|
||||||
|
require('./friendsBasic')
|
||||||
|
require('./singlePod')
|
||||||
|
require('./multiplePods')
|
||||||
|
require('./friendsAdvanced')
|
||||||
|
})()
|
6
test/index.js
Normal file
6
test/index.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
;(function () {
|
||||||
|
'use strict'
|
||||||
|
|
||||||
|
// Order of the tests we want to execute
|
||||||
|
require('./api/')
|
||||||
|
})()
|
Loading…
Reference in a new issue