mirror of https://github.com/Chocobozzz/PeerTube
Force the mocha tests order
parent
288a133126
commit
2dd5b570a6
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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')
|
||||
})()
|
|
@ -0,0 +1,6 @@
|
|||
;(function () {
|
||||
'use strict'
|
||||
|
||||
// Order of the tests we want to execute
|
||||
require('./api/')
|
||||
})()
|
Loading…
Reference in New Issue