stable

Clone or download

Read-only

chore: switch-to tests import jest globals

No functional change. CI should be happy. part of request #35125 Explicitly import jest functions Change-Id: I337e6de2cde3227c9a2675ce9d630b50dae985a8

Modified Files

Name
M .eslintrc.js +1 −1 Go to diff View file
M package.json +1 −0 Go to diff View file
M pnpm-lock.yaml +18 −15 Go to diff View file
M src/scripts/switch-to/jest.config.js +1 −2 Go to diff View file
M src/scripts/switch-to/src/components/AppBurningParrot.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/AppFlamingParrot.test.ts +2 −1 Go to diff View file
M src/scripts/switch-to/src/components/Body/GlobalEmptyState.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/ItemBadge.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/ItemEntry.test.ts +3 −2 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/RecentItems/ListOfRecentItems.test.ts +2 −1 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/SearchResults/SearchResults.test.ts +2 −1 Go to diff View file
M src/scripts/switch-to/src/components/Body/Items/SearchResults/SearchResultsList.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ListOfProjects.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ProjectLink.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ProjectsEmptyState.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/QuickLink.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/SwitchToBody.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/TroveCatLink.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToFilter.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToHeader.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/helpers/delayed-querier.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/helpers/get-projects-from-dataset.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/helpers/global-options-for-test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/helpers/is-matching-filter-value.test.ts +1 −0 Go to diff View file
M src/scripts/switch-to/src/helpers/search-querier.test.ts +3 −2 Go to diff View file
M src/scripts/switch-to/src/stores/fulltext.test.ts +5 −2 Go to diff View file
M src/scripts/switch-to/src/stores/keyboard-navigation.test.ts +20 −9 Go to diff View file
M src/scripts/switch-to/src/stores/root.test.ts +12 −9 Go to diff View file
M src/scripts/switch-to/tsconfig.json +0 −1 Go to diff View file