File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
docs/guides/component-testing Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -396,8 +396,8 @@ the increment button.
396396The next line is a bit different. We've seen how we can use the `cy.get()`
397397method to select elements, but we can also use it to grab any aliases we've set
398398up 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
402402With that, `StepperComponent` is well tested. Nice job!
403403
Original file line number Diff line number Diff line change @@ -381,8 +381,8 @@ we click the increment button.
381381The next line is a bit different. We've seen how we can use the ` cy.get() `
382382method to select elements, but we can also use it to grab any aliases we've set
383383up 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
387387With that, the ` Stepper ` component is well tested. Nice job!
388388
Original file line number Diff line number Diff line change @@ -358,8 +358,8 @@ we click the increment button.
358358The next line is a bit different. We've seen how we can use the `cy.get()`
359359method to select elements, but we can also use it to grab any aliases we've set
360360up 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
364364With that, the `Stepper` component is well tested. Nice job!
365365
You can’t perform that action at this time.
0 commit comments