Skip to content

Commit

Permalink
fix(swc): fix a bug where regenerator-runtime would be marked as exte…
Browse files Browse the repository at this point in the history
…rnal.
  • Loading branch information
wessberg committed Mar 9, 2021
1 parent d641804 commit da13b33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/server/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ test("Will inline regenerator-runtime if required. #1", async t => {
if (!("body" in result)) {
t.false("The API didn't have a body");
} else {
require("fs").writeFileSync("/Users/Wessberg/Desktop/foo.js", result.body);
t.false(result.body.toString().includes(`require("regenerator-runtime")`));
}
});
Expand Down

0 comments on commit da13b33

Please sign in to comment.