Skip to content

Commit cc7f492

Browse files
committed
Fix deprecated code
1 parent d1cece3 commit cc7f492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/server/plural-fake.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('Fake server', () => {
2828
.expect('Content-Type', /json/)
2929
.expect({ id: 3, body: 'foo', booleanValue: true, integerValue: 1 })
3030
.expect(201)
31-
assert.equal(db.posts.length, 2)
31+
assert.strictEqual(db.posts.length, 2)
3232
})
3333
})
3434

@@ -71,7 +71,7 @@ describe('Fake server', () => {
7171
.del('/posts/1')
7272
.expect({})
7373
.expect(200)
74-
assert.equal(db.posts.length, 2)
74+
assert.strictEqual(db.posts.length, 2)
7575
})
7676
})
7777
})

0 commit comments

Comments
 (0)