Closed jomarko closed 1 year ago
I struggle to finish savePageIfTestFailed using cypress ten, especially the snippet for support/index.js causes an issue:
savePageIfTestFailed
support/index.js
import { savePageIfTestFailed } from 'cyclope' afterEach(savePageIfTestFailed)
The import from causes this error:
import from
File '/home/jomarko/redhat/smart-events/sandbox-ui/node_modules/cyclope/src/index.d.ts' is not a module.ts(2306)
Do you have any suggestion how to setup cyclope for cypress 10 project?
cyclope
Yes, add ts-ignore comment
// @ts-ignore import { savePageIfTestFailed } from 'cyclope'
I struggle to finish
savePageIfTestFailed
using cypress ten, especially the snippet forsupport/index.js
causes an issue:The
import from
causes this error:Do you have any suggestion how to setup
cyclope
for cypress 10 project?