Skip to content

Commit

Permalink
set __DEV__ to true in tests
Browse files Browse the repository at this point in the history
as the `undefined` check only works in the built lib, not the sources
  • Loading branch information
phryneas committed Jun 12, 2023
1 parent 72f8e8a commit 930e273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const defaults = {
testEnvironment: "jsdom",
setupFilesAfterEnv: ["<rootDir>/config/jest/setup.ts"],
globals: {
__DEV__: undefined,
__DEV__: true,
},
testEnvironmentOptions: {
url: "http://localhost",
Expand Down

0 comments on commit 930e273

Please sign in to comment.