Skip to content

Commit ddd8e7d

Browse files
committed
test: 테스트 불필요 파일 커버리지에서 제외
issue: #19
1 parent a59cb08 commit ddd8e7d

File tree

25 files changed

+52
-0
lines changed

25 files changed

+52
-0
lines changed

src/app/entry.client.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* v8 ignore start */
12
import { StrictMode, startTransition } from 'react';
23
import { hydrateRoot } from 'react-dom/client';
34
import { HydratedRouter } from 'react-router/dom';
@@ -21,3 +22,5 @@ prepareApp().then(() => {
2122
);
2223
});
2324
});
25+
26+
/* v8 ignore end */

src/app/entry.server.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* v8 ignore start */
12
import { PassThrough } from 'node:stream';
23

34
import { createReadableStreamFromReadable } from '@react-router/node';
@@ -73,3 +74,5 @@ export default function handleRequest(
7374
setTimeout(abort, streamTimeout + 1000);
7475
});
7576
}
77+
78+
/* v8 ignore end */

src/app/routes.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
/* v8 ignore start */
12
import type { RouteConfig } from '@react-router/dev/routes';
23
import { flatRoutes } from '@react-router/fs-routes';
34

45
export default flatRoutes() satisfies RouteConfig;
6+
/* v8 ignore end */

src/entities/coin/api/coin.endpoint.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* v8 ignore start */
12
import httpClient from '~/shared/api/httpClient';
23
import type { CoinListResponse } from '../types/coin.type';
34

@@ -6,3 +7,4 @@ export default {
67
return httpClient.get<CoinListResponse>('api/asset');
78
},
89
};
10+
/* v8 ignore end */

src/entities/coin/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* v8 ignore start */
12
export { default as CoinWithIconAndName } from './ui/CoinWithIconAndName';
23
export type { CoinWithIconAndNameProps } from './ui/CoinWithIconAndName';
34
export { default as useCurrentPrice } from './hooks/useCurrentPrice';
@@ -10,3 +11,4 @@ export type {
1011
CoinName,
1112
CoinTicker,
1213
} from './types/coin.type';
14+
/* v8 ignore end */

src/entities/order/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
/* v8 ignore start */
12
export { default as QuantityInput } from './ui/QuantityInput';
3+
/* v8 ignore end */
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
/* v8 ignore start */
12
import ApiClient from '~/shared/api/httpClient';
23

34
export default {
45
logout: () => {
56
return ApiClient.get('api/logout');
67
},
78
};
9+
/* v8 ignore end */

src/entities/session/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
/* v8 ignore start */
12
export { default as api } from './api/session.endpoint';
3+
/* v8 ignore end */

src/entities/user/api/user.endpoint.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* v8 ignore start */
12
import ApiClient from '~/shared/api/httpClient';
23
import type { UserInfoResponse } from '../types/user.type';
34

@@ -6,3 +7,4 @@ export default {
67
return ApiClient.get<UserInfoResponse>('api/userinfo');
78
},
89
};
10+
/* v8 ignore end */

src/entities/user/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
/* v8 ignore start */
12
export { default as api } from './api/user.endpoint';
3+
/* v8 ignore end */

0 commit comments

Comments
 (0)