mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
fixed failing test
This commit is contained in:
parent
5bf0c9a951
commit
e9c6534c39
|
@ -1,6 +1,6 @@
|
|||
import _ from "lodash";
|
||||
import { ObjectId } from "mongodb";
|
||||
import { updateStreak } from "../../src/api/controllers/user";
|
||||
import { updateStreak } from "../../src/dal/user";
|
||||
import * as UserDAL from "../../src/dal/user";
|
||||
|
||||
const mockPersonalBest = {
|
||||
|
@ -492,6 +492,7 @@ describe("UserDal", () => {
|
|||
expect(resetUser.streak).toStrictEqual({
|
||||
length: 0,
|
||||
lastResultTimestamp: 0,
|
||||
maxLength: 0,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue