Skip to content

Commit

Permalink
Migrate remaining tests to react-testing-library, and remove Enzyme (#…
Browse files Browse the repository at this point in the history
…486)

This finally allows us to remove the dependency on Enzyme.

Also as part of this PR:

- Removed components
  - LaunchbarContainer (serves no purpose)
  - Account (not used)
  - SpeciesTab (superseded by SelectedSpecies component; not used anywhere)
- Removed tests for Launchbar
- Removed the launchbarExpanded and accountExpanded fields from redux and from components
- Changed the keyCode field on KeyboardEvent to event.key
   (typescript marks it as deprecated, whereas Browser support seems to be good these days).
  • Loading branch information
azangru committed Apr 9, 2021
1 parent fca8ac6 commit 4df5f68
Show file tree
Hide file tree
Showing 63 changed files with 1,107 additions and 2,619 deletions.
1 change: 0 additions & 1 deletion src/ensembl/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = {
roots: ['<rootDir>/src'],
setupFiles: ['<rootDir>/tests/setup-jest.js'],
setupFilesAfterEnv: [
'<rootDir>/tests/setup-enzyme.ts',
'<rootDir>/tests/setup-rtl.ts'
],
testEnvironment: 'jsdom',
Expand Down

0 comments on commit 4df5f68

Please sign in to comment.