@revoloo/cypress6
Version:
Cypress.io end to end testing tool
18 lines (14 loc) • 454 B
JavaScript
const e2e = require('../support/helpers/e2e').default
const Fixtures = require('../support/helpers/fixtures')
const uncaughtSupportFile = Fixtures.projectPath('uncaught-support-file')
describe('e2e uncaught support file errors', () => {
e2e.setup()
it('failing', function () {
return e2e.exec(this, {
project: uncaughtSupportFile,
sanitizeScreenshotDimensions: true,
snapshot: true,
expectedExitCode: 1,
})
})
})