File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
src/__tests__/__helpers__ Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ module.exports = {
39
39
} ,
40
40
] ,
41
41
42
+ 'import/extensions' : 'off' ,
42
43
'import/no-extraneous-dependencies' : [
43
44
'error' ,
44
45
{
Original file line number Diff line number Diff line change 13
13
cache : ' yarn'
14
14
- name : Install
15
15
run : yarn install --immutable
16
+
17
+ # `yarn build` does not type-check the tests
18
+ - name : tsc
19
+ run : yarn tsc
20
+
16
21
- name : Build
17
22
run : yarn build
18
23
- name : Test
Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts -ignore -- The type definitions don't define this entrypoint
3
- import matchers from '@testing-library/jest-dom/matchers' ;
1
+ import matchers from '@testing-library/jest-dom/matchers.js' ;
4
2
import { expect } from 'vitest' ;
5
3
6
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
7
- expect . extend ( matchers ) ;
4
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any
5
+ expect . extend ( matchers as any ) ;
8
6
9
7
export const skeletonSelector = 'span.react-loading-skeleton' ;
10
8
You can’t perform that action at this time.
0 commit comments