mirror of
https://gitea.com/actions/cache.git
synced 2026-06-12 14:52:05 +08:00
Prettier fixes
This commit is contained in:
@@ -1,21 +1,21 @@
|
|||||||
export default {
|
export default {
|
||||||
clearMocks: true,
|
clearMocks: true,
|
||||||
moduleFileExtensions: ['js', 'ts'],
|
moduleFileExtensions: ["js", "ts"],
|
||||||
roots: ['<rootDir>/__tests__'],
|
roots: ["<rootDir>/__tests__"],
|
||||||
testEnvironment: 'node',
|
testEnvironment: "node",
|
||||||
testMatch: ['**/*.test.ts'],
|
testMatch: ["**/*.test.ts"],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.ts$': [
|
"^.+\\.ts$": [
|
||||||
'ts-jest',
|
"ts-jest",
|
||||||
{
|
{
|
||||||
useESM: true,
|
useESM: true,
|
||||||
diagnostics: {
|
diagnostics: {
|
||||||
ignoreCodes: [151002]
|
ignoreCodes: [151002]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
extensionsToTreatAsEsm: ['.ts'],
|
extensionsToTreatAsEsm: [".ts"],
|
||||||
transformIgnorePatterns: ['node_modules/(?!(@actions)/)'],
|
transformIgnorePatterns: ["node_modules/(?!(@actions)/)"],
|
||||||
verbose: true
|
verbose: true
|
||||||
}
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user