Force the mocha tests order

pull/1/head
Chocobozzz 2015-11-24 09:13:42 +01:00
parent 288a133126
commit 2dd5b570a6
3 changed files with 19 additions and 2 deletions

View File

@ -18,7 +18,7 @@
},
"scripts": {
"start": "grunt dev",
"test": "grunt build && standard && mocha test/api"
"test": "grunt build && standard && mocha test"
},
"dependencies": {
"async": "^1.2.1",
@ -74,7 +74,8 @@
"afterEach",
"before",
"beforeEach",
"describe"
"describe",
"include"
]
}
}

10
test/api/index.js Normal file
View 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
View File

@ -0,0 +1,6 @@
;(function () {
'use strict'
// Order of the tests we want to execute
require('./api/')
})()