Skip to content

Commit 122a527

Browse files
committed
Run Prettier.
1 parent 10c86e6 commit 122a527

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

support.js

+10-2
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,19 @@ const registerHooks = () => {
166166
const baseUrl = Cypress.config('baseUrl') || cy.state('window').origin
167167
// @ts-ignore
168168
const runningEndToEndTests = baseUrl !== Cypress.config('proxyUrl')
169-
const expectFrontendCoverageOnly = Cypress._.get(Cypress.env('codeCoverage'), 'expectFrontendCoverageOnly', false)
169+
const expectFrontendCoverageOnly = Cypress._.get(
170+
Cypress.env('codeCoverage'),
171+
'expectFrontendCoverageOnly',
172+
false
173+
)
170174
const specType = Cypress._.get(Cypress.spec, 'specType', 'integration')
171175
const isIntegrationSpec = specType === 'integration'
172176

173-
if (!expectFrontendCoverageOnly && runningEndToEndTests && isIntegrationSpec) {
177+
if (
178+
!expectFrontendCoverageOnly &&
179+
runningEndToEndTests &&
180+
isIntegrationSpec
181+
) {
174182
// we can only request server-side code coverage
175183
// if we are running end-to-end tests,
176184
// otherwise where do we send the request?

0 commit comments

Comments
 (0)