- Added unit and end-to-end testing scripts to package.json. - Included detox for end-to-end testing and jest-circus for improved test execution. feat: add testID to LandingScreen logo for better testing - Added testID attribute to the logo image in LandingScreen for easier identification in tests. feat: create tokens.ts to re-export design tokens - Introduced tokens.ts to re-export shared design tokens from lightTheme for consistent imports.
12 lines
353 B
JavaScript
12 lines
353 B
JavaScript
module.exports = {
|
|
maxWorkers: 1,
|
|
rootDir: '..',
|
|
testMatch: ['<rootDir>/e2e/**/*.e2e.[jt]s?(x)'],
|
|
testTimeout: 120000,
|
|
verbose: true,
|
|
reporters: ['detox/runners/jest/reporter'],
|
|
globalSetup: 'detox/runners/jest/globalSetup',
|
|
globalTeardown: 'detox/runners/jest/globalTeardown',
|
|
testEnvironment: 'detox/runners/jest/testEnvironment'
|
|
};
|