summaryrefslogtreecommitdiff
path: root/packages/webapi/test/options.js
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2022-03-07 21:37:50 +0000
committerGravatar GitHub Actions <actions@github.com> 2022-03-07 21:37:50 +0000
commit63adaeec3420e68236613848293881721231d58b (patch)
treee1fe3060ae2ddaa39b1c4b88164466c602c39aed /packages/webapi/test/options.js
parentf18ee36dc0abdc5c8ec87734de7962966d16fe65 (diff)
downloadastro-63adaeec3420e68236613848293881721231d58b.tar.gz
astro-63adaeec3420e68236613848293881721231d58b.tar.zst
astro-63adaeec3420e68236613848293881721231d58b.zip
[ci] yarn format
Diffstat (limited to 'packages/webapi/test/options.js')
-rw-r--r--packages/webapi/test/options.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/webapi/test/options.js b/packages/webapi/test/options.js
index 4b375fc82..f322d708a 100644
--- a/packages/webapi/test/options.js
+++ b/packages/webapi/test/options.js
@@ -7,11 +7,11 @@ test(() => {
name: 'Can exclude HTMLElement+',
test() {
const target = {}
-
+
polyfill(target, {
- exclude: 'HTMLElement+'
+ exclude: 'HTMLElement+',
})
-
+
assert.equal(Reflect.has(target, 'Event'), true)
assert.equal(Reflect.has(target, 'EventTarget'), true)
assert.equal(Reflect.has(target, 'Element'), true)
@@ -23,11 +23,11 @@ test(() => {
name: 'Can exclude Event+',
test() {
const target = {}
-
+
polyfill(target, {
- exclude: 'Event+'
+ exclude: 'Event+',
})
-
+
assert.equal(Reflect.has(target, 'Event'), false)
assert.equal(Reflect.has(target, 'EventTarget'), false)
assert.equal(Reflect.has(target, 'Element'), false)
@@ -39,11 +39,11 @@ test(() => {
name: 'Can exclude document',
test() {
const target = {}
-
+
polyfill(target, {
- exclude: 'document'
+ exclude: 'document',
})
-
+
assert.equal(Reflect.has(target, 'Document'), true)
assert.equal(Reflect.has(target, 'HTMLDocument'), true)
assert.equal(Reflect.has(target, 'document'), false)