Skip to content

Commit

Permalink
Fix test by using Jest config from @comet/blocks-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyomair committed Jan 14, 2025
1 parent 15a2778 commit 5c1fa4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/admin/cms-admin/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ export default {
testEnvironment: "jest-environment-jsdom",

// Options that will be passed to the testEnvironment
// testEnvironmentOptions: {},
testEnvironmentOptions: {
customExportConditions: ["browser", "node", "node-addons"],
},

// Adds a location field to test results
// testLocationInResults: false,
Expand Down

0 comments on commit 5c1fa4b

Please sign in to comment.