db(couchdb): auto-provision databases on startup for production strategy; add TokenService with CouchDB-backed token storage and localStorage fallback; switch OAuth to unified config for client IDs and redirect URI; express Request typing for req.user; align exportAsEnvVars with show-config expectations; remove Vite importmap from index.html; prefer babel-jest over ts-jest; remove duplicate uuid mocking from Jest config
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"preset": "ts-jest",
|
||||
"testEnvironment": "jsdom",
|
||||
"setupFilesAfterEnv": ["<rootDir>/tests/setup.ts"],
|
||||
"testMatch": [
|
||||
@@ -23,11 +22,10 @@
|
||||
"coverageReporters": ["text", "lcov", "html"],
|
||||
"moduleNameMapper": {
|
||||
"^@/(.*)$": "<rootDir>/$1",
|
||||
"^uuid$": "<rootDir>/tests/__mocks__/uuid.js",
|
||||
"^node-fetch$": "<rootDir>/tests/__mocks__/node-fetch.js"
|
||||
},
|
||||
"transform": {
|
||||
"^.+\\.tsx?$": "ts-jest",
|
||||
"^.+\\.tsx?$": "babel-jest",
|
||||
"^.+\\.jsx?$": "babel-jest"
|
||||
},
|
||||
"transformIgnorePatterns": ["node_modules/(?!(@jest/transform|uuid|node-fetch)/)"],
|
||||
|
||||
Reference in New Issue
Block a user