n8n/packages/nodes-base/jest.config.js

14 lines
399 B
JavaScript

// Avoid tests failing because of difference between local and GitHub actions timezone
process.env.TZ = 'UTC';
/** @type {import('jest').Config} */
module.exports = {
...require('../../jest.config'),
collectCoverageFrom: ['credentials/**/*.ts', 'nodes/**/*.ts', 'utils/**/*.ts'],
setupFilesAfterEnv: [
'jest-expect-message',
'n8n-workflow/test/setup.ts',
'<rootDir>/test/setup.ts',
],
};