Skip to content

Commit

Permalink
chore: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 4, 2024
1 parent 6a930fa commit b06f6f3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ describe("plugin:rollup", () => {

it("esmImport", async () => {
const name = "rollup-esm";
const { output } = await _rollupBuild(
"fixture/dynamic-import.mjs",
name,
{ esmImport: true },
);
const { output } = await _rollupBuild("fixture/dynamic-import.mjs", name, {
esmImport: true,
});

const code = (output[1] && "code" in output[1] && output[1].code) || "";
const esmImport = code.match(/["'](.+wasm)["']/)?.[1];
Expand Down

0 comments on commit b06f6f3

Please sign in to comment.