Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
F3n67u committed Mar 28, 2022
1 parent 7282d99 commit 8be5ff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/jest-transform/src/ScriptTransformer.ts
Expand Up @@ -759,6 +759,7 @@ class ScriptTransformer {
}
},
{
// Exclude `mjs` extension when addHook because pirates don't support hijack es module
exts: this._config.moduleFileExtensions
.filter(ext => ext !== 'mjs')
.map(ext => `.${ext}`),
Expand Down

0 comments on commit 8be5ff0

Please sign in to comment.