summaryrefslogtreecommitdiff
path: root/test/data/html/js/html-test-utilities.js
diff options
context:
space:
mode:
authorJames Maa <jmaa@berkeley.edu>2024-05-31 08:06:52 -0700
committerGitHub <noreply@github.com>2024-05-31 15:06:52 +0000
commit76ca08bd59f0e8bfa1bb20ac813f48e7ab241265 (patch)
treebdba43d9ba704885383c7f308c6fe3f574c647c5 /test/data/html/js/html-test-utilities.js
parentb3f54747eb2694bdc90bce72e5532e99d374ef08 (diff)
Allow trailing commas in ESLint (#1013)
* Update comma-dangle rule * Fix dangling commas
Diffstat (limited to 'test/data/html/js/html-test-utilities.js')
-rw-r--r--test/data/html/js/html-test-utilities.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/data/html/js/html-test-utilities.js b/test/data/html/js/html-test-utilities.js
index 34e58807..c6011e6d 100644
--- a/test/data/html/js/html-test-utilities.js
+++ b/test/data/html/js/html-test-utilities.js
@@ -161,7 +161,7 @@ class HtmlTestUtilities {
if (template !== null && templateContentContainer !== null) {
const mode = (container instanceof HTMLElement ? container.dataset.shadowMode : void 0);
const shadow = templateContentContainer.attachShadow({
- mode: (mode === 'open' || mode === 'closed' ? mode : 'open')
+ mode: (mode === 'open' || mode === 'closed' ? mode : 'open'),
});
const containerStyles = document.querySelector('#container-styles');