Skip to content

Commit 1f6ecc7

Browse files
gerardo-rodriguezealush
authored andcommitted
docs: fix typo (#996)
1 parent 3f7bc19 commit 1f6ecc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/writing_tests/advanced_test_features/grouping_tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You may have in your application a multi-screen form in which you want to valida
5454
import { create, test, group, enforce, only } from 'vest';
5555

5656
const suite = create((data, currentTab) => {
57-
only.group(currentScreen);
57+
only.group(currentTab);
5858

5959
group('overview_tab', () => {
6060
test('productTitle', 'Must be at least 5 chars.', () => {

website/versioned_docs/version-4.x/writing_tests/advanced_test_features/grouping_tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You may have in your application a multi-screen form in which you want to valida
5454
import { create, test, group, enforce, only } from 'vest';
5555

5656
const suite = create((data, currentTab) => {
57-
only.group(currentScreen);
57+
only.group(currentTab);
5858

5959
group('overview_tab', () => {
6060
test('productTitle', 'Must be at least 5 chars.', () => {

0 commit comments

Comments
 (0)