Revision 1d861f142634ed96a0fbe171ba39c498656e8711 authored by Nicolas Thouvenin on 18 January 2019, 10:21:56 UTC, committed by Nicolas Thouvenin on 18 January 2019, 10:21:56 UTC
1 parent 05d453c
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