Files
DefinitelyTyped-tools/jest.config.js
Nathan Shively-Sanders 23c7bacc24 Port dtslint tests to jest, re-root dts-critic tests (#364)
* Port dtslint tests to jest, re-root dts-critic tests

dts-critic tests need to be run from DefinitelyTyped-tools/ root now,
which also changes a couple of the assertions.

* build dtslint before running tests

* remove @types/jest devDep from dts-critic

* add dts-critic/dtslint to root build

* better name for dtslint tests
2021-12-03 10:41:34 -08:00

13 lines
350 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"],
globals: {
"ts-jest": {
tsConfig: "<rootDir>/tsconfig.test.json",
diagnostics: false
}
}
};