mirror of
https://github.com/logto-io/logto.git
synced 2025-03-31 22:51:25 -05:00
refactor(core): fix test
This commit is contained in:
parent
a8a3de3544
commit
1d412662b6
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import { mockUser } from '@/__mocks__';
|
|||
import RequestError from '@/errors/RequestError';
|
||||
import { createRequester } from '@/utils/test-utils';
|
||||
|
||||
import sessionRoutes from '.';
|
||||
import sessionRoutes from './username-password';
|
||||
|
||||
const insertUser = jest.fn(async (..._args: unknown[]) => ({ id: 'id' }));
|
||||
const findUserById = jest.fn(async (): Promise<User> => mockUser);
|
||||
|
|
Loading…
Add table
Reference in a new issue