Skip to content

Commit

Permalink
actually do esm
Browse files Browse the repository at this point in the history
  • Loading branch information
bienzaaron committed May 10, 2024
1 parent 71cca97 commit 6c50528
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/transformers/sinon.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@ describe.each([
'const sinon = require("sinon")',
'const sinon = require("sinon-sandbox")',
] as const,
[
'esm',
'const sinon = require("sinon")',
'const sinon = require("sinon-sandbox")',
] as const,
['esm', 'import sinon from "sinon"', 'import sinon from "sinon-sandbox"'] as const,
])('for module format: %s', (_moduleFormat, sinonImport, sinonSandboxImport) => {
it('removes sinon-sandbox imports', () => {
expectTransformation(
Expand Down

0 comments on commit 6c50528

Please sign in to comment.