mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-08-31 22:50:43 +00:00

I think each test wipes the database at startup? but they share the database, so running them in parallel feels like a bad idea in general
16 lines
470 B
JavaScript
16 lines
470 B
JavaScript
/*
|
|
* 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
|
|
};
|