snyk-docker-plugin
Version:
Snyk CLI docker plugin
19 lines (17 loc) • 659 B
JavaScript
module.exports = {
preset: "ts-jest",
setupFilesAfterEnv: ["<rootDir>/test/matchers/setup.ts"],
testEnvironment: "node",
testMatch: ["<rootDir>/test/**/*.spec.ts"],
testPathIgnorePatterns: ["<rootDir>/test/windows/"],
testTimeout: 600000, // 10 minutes
// TODO: This is here until a bug in Jest (which in turn affects ts-jest) is resolved.
// It affects our CI/CD runs and makes the machine run out of memory.
// https://github.com/facebook/jest/issues/10550
// https://snyk.slack.com/archives/CLW30N31V/p1602232569018000?thread_ts=1602230753.017500&cid=CLW30N31V
globals: {
"ts-jest": {
isolatedModules: true,
},
},
};