Skip to content

Commit 2a09515

Browse files
committed
Fix linting
1 parent 765c448 commit 2a09515

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

javascript/selenium-webdriver/test/bidi/generated/network_test.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ suite(
111111
})
112112

113113
// Navigate to a non-existent host to trigger a fetch error
114-
await browsingContext.navigate({ context: contextId, url: 'http://doesnotexist.invalid/', wait: 'complete' }).catch(() => {})
114+
await browsingContext
115+
.navigate({ context: contextId, url: 'http://doesnotexist.invalid/', wait: 'complete' })
116+
.catch(() => {})
115117
await driver.wait(() => errorEvent !== null, 5000)
116118

117119
assert.ok(errorEvent, 'fetchError should have fired')
@@ -132,10 +134,7 @@ suite(
132134
})
133135

134136
it('throws when removing a non-existent intercept', async function () {
135-
await assert.rejects(
136-
() => network.removeIntercept({ intercept: 'no-such-intercept-id' }),
137-
/no such intercept/,
138-
)
137+
await assert.rejects(() => network.removeIntercept({ intercept: 'no-such-intercept-id' }), /no such intercept/)
139138
})
140139

141140
it('can intercept and continue a request', async function () {

0 commit comments

Comments
 (0)