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