Revision e49475f3472faaa2a1b790f7bcfbea169fd1b889 authored by Nicolas Thouvenin on 07 March 2019, 10:31:25 UTC, committed by Nicolas Thouvenin on 07 March 2019, 10:31:25 UTC
1 parent 961a044
Raw File
jest.config.js
module.exports = {
    projects: [
        {
            displayName: 'frontend',
            rootDir: `${__dirname}/src/app`,
            setupFiles: [`${__dirname}/src/app/setupTest.js`],
            testMatch: ['/**/*.spec.js'],
        },
        {
            displayName: 'api',
            rootDir: `${__dirname}/src/api`,
            testEnvironment: 'node',
            testPathIgnorePatterns: ['e2e'],
            testMatch: ['/**/*.spec.js'],
        },
        {
            displayName: 'common',
            rootDir: `${__dirname}/src/common`,
            testMatch: ['/**/*.spec.js'],
        },
    ],
};
back to top