Skip to content

Commit

Permalink
TEMP - constrain jest to only modules with failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
poltak committed May 20, 2024
1 parent 84d8b69 commit 416b102
Showing 1 changed file with 50 additions and 1 deletion.
51 changes: 50 additions & 1 deletion .jest-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,56 @@ for (const [alias, relPath] of Object.entries(externalTsModules)) {
}

module.exports = {
testMatch: ['<rootDir>/src/**/*.test.(js|jsx|ts|tsx)'],
testMatch: [
'<rootDir>/src/in-page-ui/ribbon/react/containers/ribbon/logic.test.ts',
'<rootDir>/src/overview/onboarding/screens/onboarding/logic.test.ts',
'<rootDir>/src/annotations/background/storage.test.ts',
'<rootDir>/src/custom-lists/background/storage.test.ts',
'<rootDir>/src/copy-paster/template-doc-generation.test.ts',
'<rootDir>/src/custom-lists/ui/CollectionPicker/logic.test.ts',
'<rootDir>/src/custom-lists/background/index.test.ts',
'<rootDir>/src/bookmarks/background/index.test.ts',
'<rootDir>/src/tests/subscriptionManagement/subscription-storage.test.ts',
'<rootDir>/src/dashboard-refactor/lists-sidebar/logic.test.ts',
'<rootDir>/src/readwise-integration/background/index.test.ts',
'<rootDir>/src/common-ui/GenericPicker/logic.test.ts',
'<rootDir>/src/personal-cloud/background/backend/translation-layer/page-fetch-storage-hooks.test.ts',
'<rootDir>/src/popup/logic.test.ts',
'<rootDir>/src/dashboard-refactor/logic.test.ts',
'<rootDir>/src/annotations/background/index.test.ts',
'<rootDir>/src/personal-cloud/background/index.test.ts',
'<rootDir>/src/dashboard-refactor/logic-modals.test.ts',
'<rootDir>/src/personal-cloud/ui/onboarding/logic.test.ts',
'<rootDir>/src/dashboard-refactor/header/sync-status-menu/logic.test.ts',
'<rootDir>/src/social-previews/cloud-functions.test.ts',
'<rootDir>/src/dashboard-refactor/search-results/logic.test.ts',
'<rootDir>/src/dashboard-refactor/logic-filters.test.ts',
'<rootDir>/src/page-analysis/extract-page-content.test.ts',
'<rootDir>/src/page-indexing/background/index.test.ts',
'<rootDir>/src/backup-restore/ui/backup-pane/container.logic.test.ts',
'<rootDir>/src/activity-indicator/background/index.test.ts',
'<rootDir>/src/annotations/cache/index.test.ts',
'<rootDir>/src/storage/index.test.ts',
'<rootDir>/src/backup-restore/background/index.test.ts',
'<rootDir>/src/search/pipeline.test.js',
'<rootDir>/src/readwise-integration/ui/containers/readwise-settings/logic.test.ts',
'<rootDir>/src/activity-indicator/ui/logic.test.ts',
'<rootDir>/src/discord/event-processor.test.ts',
'<rootDir>/src/util/transform-page-text.test.js',
'<rootDir>/src/util/youtube-url.test.ts',
'<rootDir>/src/imports/background/service-parsers/netscape-parser.test.ts',
'<rootDir>/src/copy-paster/utils.test.ts',
'<rootDir>/src/copy-paster/background/storage.test.ts',
'<rootDir>/src/summarization-llm/background/index.test.ts',
'<rootDir>/src/search-injection/utils.test.js',
'<rootDir>/src/backup-restore/background/procedures/restore/index.test.ts',
'<rootDir>/src/imports/background/state-manager.test.ts',
'<rootDir>/src/imports/background/progress-manager.test.ts',
'<rootDir>/src/tab-management/background/index.test.ts',
'<rootDir>/src/tags/ui/TagPicker/index.test.tsx',
'<rootDir>/src/sidebar/annotations-sidebar/containers/logic.test.ts',
'<rootDir>/src/content-sharing/background/index.test.ts',
],
rootDir: '.',
transform: {
...tsjPreset.transform,
Expand Down

0 comments on commit 416b102

Please sign in to comment.