Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: swc-project/jest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.23
Choose a base ref
...
head repository: swc-project/jest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 08419c0d91b4952e50b519cf378ada85636b0be9
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 10, 2022

  1. Copy the full SHA
    08419c0 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.ts
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
@@ -137,7 +137,7 @@ function insertInstrumentationOptions(jestOptions: TransformOptions<unknown>, ca
swcTransformOpts.jsc.experimental = {}
}

if (!Array.isArray(!swcTransformOpts.jsc.experimental.plugins)) {
if (!Array.isArray(swcTransformOpts.jsc.experimental.plugins)) {
swcTransformOpts.jsc.experimental.plugins = []
}