Fix test.
This commit is contained in:
parent
3b439e1228
commit
f25c24dac5
|
@ -48,7 +48,6 @@ describe("UserDB", () => {
|
||||||
const persistedUser = await db.getUserByEmail(email)
|
const persistedUser = await db.getUserByEmail(email)
|
||||||
expect(persistedUser).toEqual({
|
expect(persistedUser).toEqual({
|
||||||
...user,
|
...user,
|
||||||
ohno: "what",
|
|
||||||
_id: saveUserResponse._id,
|
_id: saveUserResponse._id,
|
||||||
_rev: expect.stringMatching(/^1-\w+/),
|
_rev: expect.stringMatching(/^1-\w+/),
|
||||||
password: expect.not.stringMatching(user.password!),
|
password: expect.not.stringMatching(user.password!),
|
||||||
|
|
Loading…
Reference in New Issue