We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b6c95 commit 26c099bCopy full SHA for 26c099b
test/cli/index.js
@@ -73,8 +73,8 @@ describe('cli', function () {
73
request.post('/posts')
74
.send({ title: 'hello' })
75
.end(function () {
76
- var str = fs.readFileSync(dbFile, 'utf8')
77
setTimeout(function () {
+ var str = fs.readFileSync(dbFile, 'utf8')
78
assert(str.indexOf('hello') !== -1)
79
done()
80
}, 1000)
test/server/plural.js
@@ -614,7 +614,7 @@ describe('Server', function () {
614
describe('router.db._.id', function (done) {
615
616
beforeEach(function () {
617
- router.db.getState({
+ router.db.setState({
618
posts: [
619
{ _id: 1 }
620
]
0 commit comments