Skip to content

Commit 7c5e353

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

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy