Sharkey/packages/backend/jest.config.e2e.cjs

17 lines
470 B
JavaScript
Raw Normal View History

/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/en/configuration.html
*/
const base = require('./jest.config.cjs')
module.exports = {
...base,
globalSetup: "<rootDir>/built-test/entry.js",
setupFilesAfterEnv: ["<rootDir>/test/jest.setup.ts"],
testMatch: [
"<rootDir>/test/e2e/**/*.ts",
],
maxConcurrency: 1, // these tests share a database, running more than one at a time is a bad idea
};