Skip to content

Commit c728177

Browse files
committed
Skipping JSDOM version of boolean attribute test
JSDOM lacks support for some attributes, so we'll skip it for now. See: - `async`: jsdom/jsdom#1564 - `nomodule`: jsdom/jsdom#2475 - `autofocus`: jsdom/jsdom#3041 - `inert`: jsdom/jsdom#3605 - etc...: jestjs/jest#139 (comment)
1 parent 144b643 commit c728177

File tree

1 file changed

+10
-0
lines changed
  • packages/svelte/tests/runtime-runes/samples/attribute-boolean-case-insensitivity

1 file changed

+10
-0
lines changed

packages/svelte/tests/runtime-runes/samples/attribute-boolean-case-insensitivity/_config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
import { test } from '../../test';
22

33
export default test({
4+
// JSDOM lacks support for some of these attributes, so we'll skip it for now.
5+
//
6+
// See:
7+
// - `async`: https://github.com/jsdom/jsdom/issues/1564
8+
// - `nomodule`: https://github.com/jsdom/jsdom/issues/2475
9+
// - `autofocus`: https://github.com/jsdom/jsdom/issues/3041
10+
// - `inert`: https://github.com/jsdom/jsdom/issues/3605
11+
// - etc...: https://github.com/jestjs/jest/issues/139#issuecomment-592673550
12+
skip_mode: ['client'],
13+
414
html: `
515
<script nomodule async defer></script>
616
<form novalidate></form>

0 commit comments

Comments
 (0)