kylemh / next-ts-with-cypress-coverage

An example create-next-app project using TypeScript, Cypress, @testing-library/cypress, and instrumented coverage
14 stars 9 forks source link

Attempt at a no babel example #7

Open henricook opened 1 year ago

henricook commented 1 year ago

I had a run at a no babel example that you can find here: https://github.com/henricook/next-ts-with-cypress-coverage-swc-example

Unfortunately it looks like the SWC plugin crashes on start. There are no obvious error messages. I thought I'd post this here in case anyone has any thoughts/inspiration.

henricook commented 1 year ago

Possibly this error? https://github.com/kwonoj/swc-plugin-coverage-instrument/issues/202

kylemh commented 1 year ago

I'm a little confused. There's no Cypress installed in that project. Maybe uncommitted work?

henricook commented 1 year ago

I hadn't got to the point where I needed to install Cypress yet because the plugin stops it starting 😅

kylemh commented 1 year ago

I don't think the plugin is working since v13:

Might wanna sub to these and sit on your hands 😂

Keep me updated though! Very interested in this.

kylemh commented 1 year ago

I see https://github.com/mike-plummer/nextjs-cypress-ct-example, but I'm uncertain how TS plays with the setup.