Files
DefinitelyTyped-tools/jest.config.js
Nathan Shively-Sanders eba074f006 Port no import default of export equals (#657)
* 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 (??)
2023-03-27 10:00:11 -07:00

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
}]
}
};