Skip to content

Commit

Permalink
fix: comment link to accurate docs (#20437)
Browse files Browse the repository at this point in the history
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
  • Loading branch information
Cesar and ZachJW34 authored Mar 2, 2022
1 parent e36f053 commit 0343de1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/data-context/src/codegen/spec-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class SpecOptions {
react: {
imports: ['import React from "react"', 'import { mount } from "@cypress/react"', `import ${componentName} from "${componentPath}"`],
componentName,
docsLink: '// see: https://reactjs.org/docs/test-utils.html',
docsLink: '// see: https://on.cypress.io/component-testing',
mount: `mount(<${componentName} />)`,
fileName: this.getFilename(this.parsedPath.ext),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ describe('code-generator', () => {
'import Button from "./Button"',
],
componentName: 'Button',
docsLink: '// see: https://reactjs.org/docs/test-utils.html',
docsLink: '// see: https://on.cypress.io/component-testing',
mount: 'mount(<Button />)',
fileName,
}
Expand All @@ -178,7 +178,7 @@ describe('code-generator', () => {
describe('<Button />', () => {
it('renders', () => {
// see: https://reactjs.org/docs/test-utils.html
// see: https://on.cypress.io/component-testing
mount(<Button />)
})
})`,
Expand Down

3 comments on commit 0343de1

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 0343de1 Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.0/linux-x64/circle-10.0-release-0343de101a8366b7edd4d74fa92f37386e009201/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 0343de1 Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.0/win32-x64/circle-10.0-release-0343de101a8366b7edd4d74fa92f37386e009201/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 0343de1 Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.0/darwin-x64/circle-10.0-release-0343de101a8366b7edd4d74fa92f37386e009201/cypress.tgz

Please sign in to comment.