mirror of
https://github.com/chenasraf/DefinitelyTyped-tools.git
synced 2026-05-17 17:48:07 +00:00
* Port no-import-default-of-export-equals First draft and 2/3 of the original tests. The test of modules, the one that matters, doesn't work with typescript-eslint's test infrastructure though. * Port no-import-default-of-export-equals Also update TS to 5.0 and Jest to 29. Associated minor changes to jest config (no more top-level ts-node) and some tslint rules (switch to a combined decorator/modifier list, but only on select nodes). * yarn format * Fix lint and update new jest baseline format More like real JSON! * also update dts-critic (??)
13 lines
369 B
JavaScript
13 lines
369 B
JavaScript
module.exports = {
|
|
preset: "ts-jest",
|
|
testEnvironment: "node",
|
|
modulePathIgnorePatterns: ["packages\\/publisher\\/output"],
|
|
testMatch: ["<rootDir>/packages/*/test/**/*.test.ts", "<rootDir>/packages/dts-critic/index.test.ts"],
|
|
transform: {
|
|
"^.+\\.tsx?$": ["ts-jest", {
|
|
tsconfig: "<rootDir>/tsconfig.test.json",
|
|
diagnostics: false
|
|
}]
|
|
}
|
|
};
|