Skip to content

Commit 1cf7ed2

Browse files
committed
fix imports
1 parent eded216 commit 1cf7ed2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

jest-setup.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const { cleanup } = require("./");
1+
const { cleanup } = require("./dist/index.js");
22

3-
require("./polyfill");
3+
require("./polyfill.cjs");
44

55
if (typeof process === "undefined") {
66
if (typeof afterEach === "function") {

polyfill.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const mmm = require(".");
1+
const mmm = require("./dist/index.js");
22

33
function inject(variable) {
44
// Older versions of node don't have `globalThis` (but as it was added in node 12 and we don't target those versions, no need to have fallbacks)

polyfill.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as mmm from ".";
1+
import * as mmm from "./dist/index.mjs";
22

33
function inject(variable) {
44
// Older versions of node don't have `globalThis` (but as it was added in node 12 and we don't target those versions, no need to have fallbacks)

0 commit comments

Comments
 (0)