Skip to content

Commit

Permalink
Update Jest config to use common preset
Browse files Browse the repository at this point in the history
  • Loading branch information
sirbrillig committed Nov 4, 2020
1 parent ba7b49f commit 69bd67a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/calypso-stripe/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module.exports = {
preset: '@automattic/calypso-build',
rootDir: __dirname,
preset: '../../test/packages/jest-preset.js',
testEnvironment: 'jsdom',
globals: { window: { navigator: { userAgent: 'jest' } } },
cacheDirectory: '<rootDir>/../../.cache/jest',
};

0 comments on commit 69bd67a

Please sign in to comment.