chore: update test configs and opening data

- Update jest.config.ts for new test structure
- Update playwright.config.ts for e2e test setup
- Update opening database files (12,379 entries)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Stefan
2025-12-08 15:08:41 +01:00
parent 8ed402bbe0
commit f3134bf6ce
8 changed files with 256 additions and 104712 deletions
+4
View File
@@ -15,6 +15,10 @@ const config: Config = {
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
testPathIgnorePatterns: [
'/node_modules/',
'/e2e/', // Exclude Playwright e2e tests
],
transformIgnorePatterns: [
'node_modules/(?!(react-markdown|remark-.*|unified|bail|is-plain-obj|trough|vfile|unist-.*|mdast-.*|micromark.*|decode-named-character-reference|character-entities|property-information|hast-util-whitespace|space-separated-tokens|comma-separated-tokens|ccount|escape-string-regexp|markdown-table)/)',
],
+1
View File
@@ -14,6 +14,7 @@
"test:e2e:headed": "playwright test --headed",
"test:all": "npm test && npm run test:e2e",
"build:opening-index": "node scripts/buildOpeningIndex.js",
"generate:test-fixtures": "npx tsx scripts/generate-test-fixtures.ts",
"cache:wikipedia": "tsx scripts/fetch-wikipedia-openings.ts",
"update:wikipedia-slugs": "tsx scripts/add-wikipedia-to-openings.ts",
"build:mobile": "./scripts/build-mobile.sh",
+1
View File
@@ -1,6 +1,7 @@
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
globalSetup: require.resolve('./e2e/global-setup'),
testDir: './e2e',
fullyParallel: true,
forbidOnly: !!process.env.CI,
+45 -22359
View File
File diff suppressed because it is too large Load Diff
+43 -22573
View File
File diff suppressed because it is too large Load Diff
+64 -26511
View File
File diff suppressed because it is too large Load Diff
+44 -18933
View File
File diff suppressed because it is too large Load Diff
+54 -14336
View File
File diff suppressed because it is too large Load Diff