@@ -337,13 +337,13 @@ To migrate, change the test harness from `cypress/react18` to `cypress/react`.
337337<Badge type = " danger" >Before</Badge >{ ' ' }
338338
339339``` ts
340- import { mount } from ` cypress/react18 `
340+ import { mount } from ' cypress/react18'
341341```
342342
343343<Badge type = " success" >After</Badge >
344344
345345``` ts
346- import { mount } from ` cypress/react `
346+ import { mount } from ' cypress/react'
347347```
348348
349349#### To continue using React below v18
@@ -361,13 +361,13 @@ Inside your support file (ex: `./cypress/support/component.(js|ts)`), or whereve
361361<Badge type = " danger" >Before</Badge >{ ' ' }
362362
363363``` ts
364- import { mount } from ` cypress/react `
364+ import { mount } from ' cypress/react'
365365```
366366
367367<Badge type = " success" >After</Badge >
368368
369369``` ts
370- import { mount } from ` @cypress/react `
370+ import { mount } from ' @cypress/react'
371371```
372372
373373### Angular ` <17.2.0 ` CT no longer supported
@@ -381,13 +381,13 @@ To migrate, just change the test harness from `cypress/angular-signals` to `cypr
381381<Badge type = " danger" >Before</Badge >{ ' ' }
382382
383383``` ts
384- import { mount } from ` cypress/angular-signals `
384+ import { mount } from ' cypress/angular-signals'
385385```
386386
387387<Badge type = " success" >After</Badge >
388388
389389``` ts
390- import { mount } from ` cypress/angular `
390+ import { mount } from ' cypress/angular'
391391```
392392
393393#### To continue using Angular below v17.2.0
@@ -405,13 +405,13 @@ Inside your support file (ex: `./cypress/support/component.(js|ts)`), or whereve
405405<Badge type = " danger" >Before</Badge >{ ' ' }
406406
407407``` ts
408- import { mount } from ` cypress/angular `
408+ import { mount } from ' cypress/angular'
409409```
410410
411411<Badge type = " success" >After</Badge >
412412
413413``` ts
414- import { mount } from ` @cypress/angular `
414+ import { mount } from ' @cypress/angular'
415415```
416416
417417### Vue 2 CT no longer supported
@@ -433,13 +433,13 @@ Inside your support file (ex: `./cypress/support/component.(js|ts)`), or whereve
433433<Badge type = " danger" >Before</Badge >{ ' ' }
434434
435435``` ts
436- import { mount } from ` cypress/vue2 `
436+ import { mount } from ' cypress/vue2'
437437```
438438
439439<Badge type = " success" >After</Badge >
440440
441441``` ts
442- import { mount } from ` @cypress/vue2 `
442+ import { mount } from ' @cypress/vue2'
443443```
444444
445445### Create React App CT no longer supported
@@ -525,20 +525,20 @@ Note that this version of the test harness is deprecated and no longer actively
525525To update, inside your support file (ex: ` ./cypress/support/component.(js|ts) ` ) or wherever your mount function is imported, change
526526
527527``` ts
528- import { mount } from ` cypress/svelte `
528+ import { mount } from ' cypress/svelte'
529529```
530530
531531to
532532
533533``` ts
534- import { mount } from ` @cypress/svelte `
534+ import { mount } from ' @cypress/svelte'
535535```
536536
537537Your code should now look like this:
538538
539539``` ts
540540import MySvelteComponent from ' ./MySvelteComponent'
541- import { mount } from ` @cypress/svelte `
541+ import { mount } from ' @cypress/svelte'
542542
543543it (' renders' , () => {
544544 cy .mount (MySvelteComponent )
0 commit comments