Skip to content

Commit 0b975d2

Browse files
committed
fixed jest tests
1 parent 2008722 commit 0b975d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+180
-719
lines changed

jest-environment-jsdom.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
verbose: true,
33
// https://github.com/paralleldrive/cuid2/issues/44#issuecomment-1531731695
4-
testEnvironment: './jest-environment-jsdom.js', // had to extend; see https://github.com/jsdom/jsdom/issues/2524
4+
testEnvironment: 'jsdom', // had to extend; see https://github.com/jsdom/jsdom/issues/2524
55
testMatch: [
66
'**/?(*.)+(spec|test).[tj]s?(x)'],
77
setupFilesAfterEnv: [

0 commit comments

Comments
 (0)