Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4ce457fadf | |||
56d6e0fd45 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "smartdata",
|
"name": "smartdata",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "do more with data",
|
"description": "do more with data",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
@ -10,9 +10,9 @@ let testDbConnection: smartdata.DbConnection
|
|||||||
|
|
||||||
describe('mongodb',function(){
|
describe('mongodb',function(){
|
||||||
it('should start mongodb',function(done){
|
it('should start mongodb',function(done){
|
||||||
this.timeout(10000)
|
this.timeout(20000)
|
||||||
mongoChildProcess = shelljs.exec('mongod --dbpath=./test/data --port 27017',{async: true})
|
mongoChildProcess = shelljs.exec('mongod --dbpath=./test/data --port 27017',{async: true})
|
||||||
setTimeout(() => { done() }, 5000) // give mongodb it some time to complete startup
|
setTimeout(() => { done() }, 10000) // give mongodb it some time to complete startup
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
describe('smartdata',function(){
|
describe('smartdata',function(){
|
||||||
|
Reference in New Issue
Block a user