Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance committed Sep 15, 2023
1 parent 212b483 commit aa12073
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
const nextJest = require('next/jest');

const createJestConfig = nextJest({ dir: './' });

const customJestConfig = {
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
preset: 'ts-jest',
testEnvironment: 'jest-environment-jsdom',
preset: 'ts-jest',
};

module.exports = createJestConfig(customJestConfig);

0 comments on commit aa12073

Please sign in to comment.