-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: migrate tests to testing-library (#539)
* chore: remove ts description * chore: update deps * chore: migrate options.test * chore: migrate demo.test * chore: migrate data-aria.test * chore: migrate itemRender.test * chore: migrate jumper.test * chore: migrate sizer.test * chore: migrate two-pagination.test * chore: migrate simple.test * chore: migrate index.test * chore: update * chore: migrate .js => .tsx * chore: supplement TS description
- Loading branch information
Showing
23 changed files
with
2,905 additions
and
1,279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
const pkg = require('./package.json'); | ||
module.exports = { | ||
snapshotSerializers: [require.resolve('enzyme-to-json/serializer')], | ||
setupFilesAfterEnv: ['<rootDir>/tests/setupAfterEnv.ts'], | ||
moduleNameMapper: { | ||
[pkg.name]: '<rootDir>/src/index.ts', | ||
'\\.less$': 'identity-obj-proxy', | ||
}, | ||
collectCoverageFrom: [ | ||
'src/**', | ||
'!src/locale/**', | ||
], | ||
collectCoverageFrom: ['src/**', '!src/locale/**'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.