Revision 961a0448ca252827de4a1d1eb0934b694ecad91d authored by Nicolas Thouvenin on 07 March 2019, 10:30:25 UTC, committed by GitHub on 07 March 2019, 10:30:25 UTC
2 parent s fd1156b + 37422ff
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