From 416b10233bae844fdef7d50f62f036b82b911d39 Mon Sep 17 00:00:00 2001 From: Jonathan Poltak Samosir Date: Mon, 20 May 2024 16:39:43 +0700 Subject: [PATCH] TEMP - constrain jest to only modules with failing tests --- .jest-config.js | 51 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/.jest-config.js b/.jest-config.js index e3eb67a777..dac32bfae6 100644 --- a/.jest-config.js +++ b/.jest-config.js @@ -10,7 +10,56 @@ for (const [alias, relPath] of Object.entries(externalTsModules)) { } module.exports = { - testMatch: ['/src/**/*.test.(js|jsx|ts|tsx)'], + testMatch: [ + '/src/in-page-ui/ribbon/react/containers/ribbon/logic.test.ts', + '/src/overview/onboarding/screens/onboarding/logic.test.ts', + '/src/annotations/background/storage.test.ts', + '/src/custom-lists/background/storage.test.ts', + '/src/copy-paster/template-doc-generation.test.ts', + '/src/custom-lists/ui/CollectionPicker/logic.test.ts', + '/src/custom-lists/background/index.test.ts', + '/src/bookmarks/background/index.test.ts', + '/src/tests/subscriptionManagement/subscription-storage.test.ts', + '/src/dashboard-refactor/lists-sidebar/logic.test.ts', + '/src/readwise-integration/background/index.test.ts', + '/src/common-ui/GenericPicker/logic.test.ts', + '/src/personal-cloud/background/backend/translation-layer/page-fetch-storage-hooks.test.ts', + '/src/popup/logic.test.ts', + '/src/dashboard-refactor/logic.test.ts', + '/src/annotations/background/index.test.ts', + '/src/personal-cloud/background/index.test.ts', + '/src/dashboard-refactor/logic-modals.test.ts', + '/src/personal-cloud/ui/onboarding/logic.test.ts', + '/src/dashboard-refactor/header/sync-status-menu/logic.test.ts', + '/src/social-previews/cloud-functions.test.ts', + '/src/dashboard-refactor/search-results/logic.test.ts', + '/src/dashboard-refactor/logic-filters.test.ts', + '/src/page-analysis/extract-page-content.test.ts', + '/src/page-indexing/background/index.test.ts', + '/src/backup-restore/ui/backup-pane/container.logic.test.ts', + '/src/activity-indicator/background/index.test.ts', + '/src/annotations/cache/index.test.ts', + '/src/storage/index.test.ts', + '/src/backup-restore/background/index.test.ts', + '/src/search/pipeline.test.js', + '/src/readwise-integration/ui/containers/readwise-settings/logic.test.ts', + '/src/activity-indicator/ui/logic.test.ts', + '/src/discord/event-processor.test.ts', + '/src/util/transform-page-text.test.js', + '/src/util/youtube-url.test.ts', + '/src/imports/background/service-parsers/netscape-parser.test.ts', + '/src/copy-paster/utils.test.ts', + '/src/copy-paster/background/storage.test.ts', + '/src/summarization-llm/background/index.test.ts', + '/src/search-injection/utils.test.js', + '/src/backup-restore/background/procedures/restore/index.test.ts', + '/src/imports/background/state-manager.test.ts', + '/src/imports/background/progress-manager.test.ts', + '/src/tab-management/background/index.test.ts', + '/src/tags/ui/TagPicker/index.test.tsx', + '/src/sidebar/annotations-sidebar/containers/logic.test.ts', + '/src/content-sharing/background/index.test.ts', + ], rootDir: '.', transform: { ...tsjPreset.transform,