Skip to content

Commit b26ed1a

Browse files
committed
Fix CI
1 parent ac3d6c4 commit b26ed1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rollup.lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const libBundles = [
2626
{
2727
input: "lib/lib.js",
2828
output: {
29-
file: pkg.main,
29+
file: pkg.module.replace("esm", "cjs"),
3030
format: "cjs",
3131
sourcemap: sourcemapOption
3232
},

test/test-runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async function getNumFailingTestsInPuppeteer() {
7777
const testFiles = await glob("./tests/**/test.js");
7878
const browser = await pptr.launch({
7979
devtools: OPEN_DEVTOOLS,
80-
...(process.env.PUPPETEER_EXECUTABLE_PATH.length > 0
80+
...(process.env.PUPPETEER_EXECUTABLE_PATH?.length > 0
8181
? { executablePath: process.env.PUPPETEER_EXECUTABLE_PATH }
8282
: {})
8383
});

0 commit comments

Comments
 (0)