Skip to content

Commit

Permalink
Update packages/sdk/jest.config.js
Browse files Browse the repository at this point in the history
Co-authored-by: Matteo Pietro Dazzi <matteopietro.dazzi@gmail.com>
  • Loading branch information
ScriptedAlchemy and ilteoood authored Jun 25, 2024
1 parent 42dd1a7 commit 94a0b09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/sdk/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ const { exclude: _, ...swcJestConfig } = JSON.parse(

// disable .swcrc look-up by SWC core because we're passing in swcJestConfig ourselves.
// If we do not disable this, SWC Core will read .swcrc and won't transform our test files due to "exclude"
if (swcJestConfig.swcrc === undefined) {
swcJestConfig.swcrc = false;
}
swcJestConfig.swcrc ?= false;

// Uncomment if using global setup/teardown files being transformed via swc
// https://nx.dev/packages/jest/documents/overview#global-setup/teardown-with-nx-libraries
Expand Down

0 comments on commit 94a0b09

Please sign in to comment.