mirror of
https://github.com/textcortex/claude-code-sandbox.git
synced 2025-08-04 19:08:21 +00:00
Exclude .DS_Store files, run prettier
This commit is contained in:
parent
56c120e7a8
commit
f815760d73
18 changed files with 700 additions and 545 deletions
|
@ -1,39 +1,36 @@
|
|||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
roots: ['<rootDir>/test'],
|
||||
preset: "ts-jest",
|
||||
testEnvironment: "node",
|
||||
roots: ["<rootDir>/test"],
|
||||
testMatch: [
|
||||
'**/test/**/*.test.ts',
|
||||
'**/test/**/*.test.js',
|
||||
'**/test/**/*.spec.ts',
|
||||
'**/test/**/*.spec.js'
|
||||
"**/test/**/*.test.ts",
|
||||
"**/test/**/*.test.js",
|
||||
"**/test/**/*.spec.ts",
|
||||
"**/test/**/*.spec.js",
|
||||
],
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
||||
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
||||
transform: {
|
||||
'^.+\\.tsx?$': 'ts-jest',
|
||||
'^.+\\.jsx?$': 'babel-jest'
|
||||
"^.+\\.tsx?$": "ts-jest",
|
||||
"^.+\\.jsx?$": "babel-jest",
|
||||
},
|
||||
collectCoverageFrom: [
|
||||
'src/**/*.{ts,tsx}',
|
||||
'!src/**/*.d.ts',
|
||||
'!src/**/*.test.{ts,tsx}',
|
||||
'!src/**/*.spec.{ts,tsx}'
|
||||
],
|
||||
coverageDirectory: '<rootDir>/coverage',
|
||||
coverageReporters: ['text', 'lcov', 'html'],
|
||||
testPathIgnorePatterns: [
|
||||
'/node_modules/',
|
||||
'/dist/'
|
||||
"src/**/*.{ts,tsx}",
|
||||
"!src/**/*.d.ts",
|
||||
"!src/**/*.test.{ts,tsx}",
|
||||
"!src/**/*.spec.{ts,tsx}",
|
||||
],
|
||||
coverageDirectory: "<rootDir>/coverage",
|
||||
coverageReporters: ["text", "lcov", "html"],
|
||||
testPathIgnorePatterns: ["/node_modules/", "/dist/"],
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/$1'
|
||||
"^@/(.*)$": "<rootDir>/src/$1",
|
||||
},
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
"ts-jest": {
|
||||
tsconfig: {
|
||||
esModuleInterop: true,
|
||||
allowJs: true
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
allowJs: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue