mirror of
https://github.com/chenasraf/DefinitelyTyped-tools.git
synced 2026-05-17 17:48:07 +00:00
* 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
13 lines
350 B
JavaScript
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
|
|
}
|
|
}
|
|
};
|