Run jest test suites in groups?
问题 I am writing extensive tests for a new API via jest and supertest. Prior to running the tests, I am setting up a test database and populating it with users: Test command jest --forceExit --config src/utils/testing/jest.config.js jest.config.js module.exports = { rootDir: process.cwd(), // Sets up testing database with users globalSetup: './src/utils/testing/jest.setup.js', // Ensures connection to database for all test suites setupTestFrameworkScriptFile: './src/utils/testing/jest.db.js', }