Skip to content

Commit 4441adb

Browse files
authored
Merge branch 'calebdwilliams:main' into fix-element-not-calling-attach-internals
2 parents df3a298 + 87b2d27 commit 4441adb

File tree

8 files changed

+5457
-8638
lines changed

8 files changed

+5457
-8638
lines changed

.babelrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

jsdom-tests/jsdom.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ const polyfillContents = readFileSync('./dist/index.js', 'utf-8');
55

66
function test(title, condition) {
77
if (!condition) {
8-
throw new Error(`${title} failed with error ${error}`);
8+
throw new Error(`${title} failed with error`);
99
} else {
1010
console.log(`${title} passed in JSDOM`);
1111
}
1212
}
1313

14+
test("no optional chaining operator in output",!polyfillContents.includes("?."));
15+
1416
JSDOM.fromFile('./jsdom-tests/index.html', {
1517
runScripts: 'dangerously'
1618
}).then(async ({ window }) => {

0 commit comments

Comments
 (0)