1
0
Fork 0
mirror of https://github.com/n8n-io/n8n.git synced 2025-03-05 20:50:17 -08:00
n8n/packages/cli/jest.config.js
कारतोफ्फेलस्क्रिप्ट™ 698d96a617
refactor: Setup typescript project references across workflow, core, and cli ()
* refactor: use consistent folder structure across workflow, core, and cli

* setup typescript project references across workflow, core, and cli
2022-11-09 15:25:00 +01:00

13 lines
304 B
JavaScript

/** @type {import('jest').Config} */
module.exports = {
...require('../../jest.config'),
testEnvironmentOptions: {
url: 'http://localhost/',
},
globalTeardown: '<rootDir>/test/teardown.ts',
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
'^@db/(.*)$': '<rootDir>/src/databases/$1',
},
};