Skip to content

Commit

Permalink
chore: change path for convention
Browse files Browse the repository at this point in the history
  • Loading branch information
timepresent95 committed Aug 19, 2024
1 parent 2be82ea commit fb5972a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/mocks/handlers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
// import {faker} from '@faker-js/faker';
import {http, HttpResponse} from 'msw';

import {createUser} from '../fakers';
import {createFakeJWT, verifyFakeJWT} from '../utils/token';

import {mockMembers} from './mockUser';

import {RequestSignIn, RequestSignUp, ResponseToken} from '@/api/auth';
import {ResponseMembers} from '@/api/member';
import {ResponseTodayQuestion} from '@/api/quetions';
import {API_BASE_URL} from '@/constants/api';
import {createUser} from '@/mocks/fakers';
import {createFakeJWT, verifyFakeJWT} from '@/mocks/utils/token';

const getHandlers = [
http.get(API_BASE_URL + '/auth/sign-out', () => {
Expand Down
3 changes: 1 addition & 2 deletions src/mocks/handlers/mockUser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {createUser} from '../fakers';

import {createUser} from '@/mocks/fakers';
import {Member} from '@/types';

export const mockMembers: Member[] = Array.from({length: 5}, createUser);

0 comments on commit fb5972a

Please sign in to comment.