Web Dev Solutions

Catalin Mititiuc

From 7e5aedeb0a1ffa727005c98d80044429bf20ff45 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Tue, 28 May 2024 17:46:32 -0700 Subject: Move takeScreenshot() function into a test helper file --- jest.config.integ.cjs | 1 + 1 file changed, 1 insertion(+) (limited to 'jest.config.integ.cjs') diff --git a/jest.config.integ.cjs b/jest.config.integ.cjs index 7a8028a..7e8af3c 100644 --- a/jest.config.integ.cjs +++ b/jest.config.integ.cjs @@ -3,6 +3,7 @@ console.log('Jest config file read.'); module.exports = { globalSetup: './test/integration/setup.cjs', globalTeardown: './test/integration/teardown.cjs', + setupFiles: ['./test/integration/helpers.cjs'], testPathIgnorePatterns: ['/node_modules/', 'test/unit'], testTimeout: 5000, }; -- cgit v1.2.3