Skip to content

Do not ask for code coverage when running component spec #185

Closed
@bahmutov

Description

@bahmutov
const baseUrl = Cypress.config('baseUrl') || cy.state('window').origin
const runningEndToEndTests = baseUrl !== Cypress.config('proxyUrl')
if (runningEndToEndTests) {

But we most likely are NOT running a backend for component specs, so skip the request

Screen Shot 2020-04-08 at 5 13 21 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions