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 = {
3939 } ,
4040 ] ,
4141
42+ 'import/extensions' : 'off' ,
4243 'import/no-extraneous-dependencies' : [
4344 'error' ,
4445 {
Original file line number Diff line number Diff line change 1313 cache : ' yarn'
1414 - name : Install
1515 run : yarn install --immutable
16+
17+ # `yarn build` does not type-check the tests
18+ - name : tsc
19+ run : yarn tsc
20+
1621 - name : Build
1722 run : yarn build
1823 - 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' ;
42import { expect } from 'vitest' ;
53
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 ) ;
86
97export const skeletonSelector = 'span.react-loading-skeleton' ;
108
You can’t perform that action at this time.
0 commit comments