Create failing test in test-libraries
This commit is contained in:
parent
cf57c7a0d0
commit
63aa1ec0bf
|
@ -48,6 +48,7 @@ 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