From d754fd64a2907ee7887d186fab5697bbe8f5f739 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Wed, 29 Oct 2025 09:58:15 -0400 Subject: [PATCH] fix strings in migration guide --- docs/app/references/migration-guide.mdx | 26 ++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/app/references/migration-guide.mdx b/docs/app/references/migration-guide.mdx index 6af7efa768..07dcf66600 100644 --- a/docs/app/references/migration-guide.mdx +++ b/docs/app/references/migration-guide.mdx @@ -337,13 +337,13 @@ To migrate, change the test harness from `cypress/react18` to `cypress/react`. Before{' '} ```ts -import { mount } from `cypress/react18` +import { mount } from 'cypress/react18' ``` After ```ts -import { mount } from `cypress/react` +import { mount } from 'cypress/react' ``` #### To continue using React below v18 @@ -361,13 +361,13 @@ Inside your support file (ex: `./cypress/support/component.(js|ts)`), or whereve Before{' '} ```ts -import { mount } from `cypress/react` +import { mount } from 'cypress/react' ``` After ```ts -import { mount } from `@cypress/react` +import { mount } from '@cypress/react' ``` ### 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 Before{' '} ```ts -import { mount } from `cypress/angular-signals` +import { mount } from 'cypress/angular-signals' ``` After ```ts -import { mount } from `cypress/angular` +import { mount } from 'cypress/angular' ``` #### To continue using Angular below v17.2.0 @@ -405,13 +405,13 @@ Inside your support file (ex: `./cypress/support/component.(js|ts)`), or whereve Before{' '} ```ts -import { mount } from `cypress/angular` +import { mount } from 'cypress/angular' ``` After ```ts -import { mount } from `@cypress/angular` +import { mount } from '@cypress/angular' ``` ### Vue 2 CT no longer supported @@ -433,13 +433,13 @@ Inside your support file (ex: `./cypress/support/component.(js|ts)`), or whereve Before{' '} ```ts -import { mount } from `cypress/vue2` +import { mount } from 'cypress/vue2' ``` After ```ts -import { mount } from `@cypress/vue2` +import { mount } from '@cypress/vue2' ``` ### 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 To update, inside your support file (ex: `./cypress/support/component.(js|ts)`) or wherever your mount function is imported, change ```ts -import { mount } from `cypress/svelte` +import { mount } from 'cypress/svelte' ``` to ```ts -import { mount } from `@cypress/svelte` +import { mount } from '@cypress/svelte' ``` Your code should now look like this: ```ts import MySvelteComponent from './MySvelteComponent' -import { mount } from `@cypress/svelte` +import { mount } from '@cypress/svelte' it('renders', () => { cy.mount(MySvelteComponent)