Fix test.

This commit is contained in:
Sam Rose 2024-11-20 13:06:56 +00:00
parent 3b439e1228
commit f25c24dac5
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -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!),