Skip to content

Commit 639dab7

Browse files
Update Alias Reference (#5109)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
1 parent a809fd2 commit 639dab7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/guides/component-testing/angular/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ the increment button.
396396
The next line is a bit different. We've seen how we can use the `cy.get()`
397397
method to select elements, but we can also use it to grab any aliases we've set
398398
up previously. We use `cy.get()` to grab the alias to the spy (by prepending an
399-
ampersand to the alias name). We assert that the method was called with the
400-
expected value.
399+
"@" to the alias name). We assert that the method was called with the expected
400+
value.
401401

402402
With that, `StepperComponent` is well tested. Nice job!
403403

docs/guides/component-testing/react/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ we click the increment button.
381381
The next line is a bit different. We've seen how we can use the `cy.get()`
382382
method to select elements, but we can also use it to grab any aliases we've set
383383
up previously. We use `cy.get()` to grab the alias to the spy (by prepending an
384-
ampersand to the alias name). We assert that the method was called with the
385-
expected value.
384+
"@" to the alias name). We assert that the method was called with the expected
385+
value.
386386

387387
With that, the `Stepper` component is well tested. Nice job!
388388

docs/guides/component-testing/svelte/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ we click the increment button.
358358
The next line is a bit different. We've seen how we can use the `cy.get()`
359359
method to select elements, but we can also use it to grab any aliases we've set
360360
up previously. We use `cy.get()` to grab the alias to the spy (by prepending an
361-
ampersand to the alias name). We assert that the method was called with the
362-
expected value.
361+
"@" to the alias name). We assert that the method was called with the expected
362+
value.
363363

364364
With that, the `Stepper` component is well tested. Nice job!
365365

0 commit comments

Comments
 (0)