Skip to content

Commit

Permalink
chore: remove links to adapter readmes (#4846)
Browse files Browse the repository at this point in the history
  • Loading branch information
astone123 committed Nov 8, 2022
1 parent 61407e3 commit 38ae1d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 4 additions & 0 deletions content/api/commands/mount.md
Expand Up @@ -35,6 +35,10 @@ to start with for your commands:
<template #react>

```js
// React 18
import { mount } from 'cypress/react18'

// React 16, 17
import { mount } from 'cypress/react'

Cypress.Commands.add('mount', (component, options) => {
Expand Down
18 changes: 7 additions & 11 deletions content/partials/import-mount-functions.md
Expand Up @@ -9,16 +9,17 @@ framework-specific `mount()` functions, which can be imported like so:

The `mount()` command exported from the
[cypress/react](https://github.com/cypress-io/cypress/tree/develop/npm/react)
module supports standard JSX syntax for mounting components. If you have any
questions about mount options that aren't covered in this guide, be sure to
check out the module
[documentation](https://github.com/cypress-io/cypress/tree/develop/npm/react#readme).
module supports standard JSX syntax for mounting components.

</Alert>
</template>
<template #react>

```js
// React 18
import { mount } from 'cypress/react18'

// React 16, 17
import { mount } from 'cypress/react'
```

Expand All @@ -32,9 +33,7 @@ The `mount()` command exported from the
[cypress/vue](https://github.com/cypress-io/cypress/tree/develop/npm/vue)
library uses [Vue Test Utils](https://vue-test-utils.vuejs.org/) internally, but
instead of mounting your components in a virtual browser in node, it mounts them
in your actual browser. If you have any questions about mount options that
aren't covered in this guide, be sure to check out the library
[documentation](https://github.com/cypress-io/cypress/tree/develop/npm/vue#readme).
in your actual browser.

</Alert>
</template>
Expand All @@ -58,10 +57,7 @@ The `mount()` command exported from the
[cypress/angular](https://github.com/cypress-io/cypress/tree/develop/npm/angular)
library uses [Angular TestBed](https://angular.io/api/core/testing/TestBed)
internally, but instead of mounting your components in a virtual browser in
node, it mounts them in your actual browser. If you have any questions about
mount options that aren't covered in this guide, be sure to check out the
library
[documentation](https://github.com/cypress-io/cypress/tree/develop/npm/angular#readme).
node, it mounts them in your actual browser.

</Alert>
</template>
Expand Down

0 comments on commit 38ae1d2

Please sign in to comment.