Skip to content

Commit 7c5e353

Browse files
committed
fix test execution on Node.js 10
1 parent ac1a513 commit 7c5e353

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import "./tla.js"
22
const a = import("./defer.js")
33
import.meta.webpackHot.accept(["./defer.js"], () => {})
4-
54
it("should compile", async () => {
65
expect(await a).toBeTruthy();
76
});
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = function () {
2+
return process.version.slice(0, 4) !== "v10."
3+
};

0 commit comments

Comments
 (0)