Skip to content

Commit

Permalink
test: disable playwright debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
smeijer committed Sep 16, 2021
1 parent e7972eb commit 4b0f043
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jest-playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
command: `npx next dev -p ${PORT}`,
port: PORT,
launchTimeout: 30_000,
debug: true,
debug: false,
options: {
env: {
E2E_TESTS: 'true',
Expand All @@ -17,5 +17,5 @@ module.exports = {
headless: true,
// slowMo: 25,
},
collectCoverage: true,
collectCoverage: false, // doesn't really do what we need
};
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const isUnit = process.env.type !== 'e2e';
const sharedConfig = {
setupFilesAfterEnv: ['jest-partial'],
modulePathIgnorePatterns: ['<rootDir>/docs', '<rootDir>/lib'],
verbose: true,
};

if (isUnit) {
Expand All @@ -12,7 +13,7 @@ if (isUnit) {
testEnvironment: 'node',
globals: {
'ts-jest': {
tsConfig: './tsconfig.build.json',
tsconfig: './tsconfig.build.json',
},
},
};
Expand Down

0 comments on commit 4b0f043

Please sign in to comment.