12 lines
343 B
JavaScript

const path = require('path');
const globalJestConfig = require('../../../jest.config');
const finalJestConfig = { ...globalJestConfig };
finalJestConfig.rootDir = path.join(__dirname, '../../..');
finalJestConfig.testMatch = [
'<rootDir>/examples/official-storybook/storyshots-puppeteer/*.runner.js',
];
module.exports = finalJestConfig;