Skip to content

Commit 3ddf5e4

Browse files
authored
docs: move test utils badge to beta (#8639)
1 parent 4514dd7 commit 3ddf5e4

File tree

18 files changed

+18
-18
lines changed

18 files changed

+18
-18
lines changed

packages/@react-spectrum/combobox/docs/ComboBox.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ behaviors in your test suite.
994994
Please also refer to [React Spectrum's test suite](https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/combobox/test/ComboBox.test.js) if you find that the above
995995
isn't sufficient when resolving issues in your own test cases.
996996

997-
### Test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
997+
### Test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
998998

999999
`@react-spectrum/test-utils` offers common combobox interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
10001000
in your tests. Below is the full definition of the combobox tester and a sample of how you could use it in your test suite.

packages/@react-spectrum/list/docs/ListView.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ behaviors in your test suite.
11931193
Please also refer to [React Spectrum's test suite](https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/list/test/ListView.test.js) if you find that the above
11941194
isn't sufficient when resolving issues in your own test cases.
11951195

1196-
### Test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
1196+
### Test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
11971197

11981198
`@react-spectrum/test-utils` offers common gridlist interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
11991199
in your tests. Below is the full definition of the gridlist tester and a sample of how you could use it in your test suite.

packages/@react-spectrum/listbox/docs/ListBox.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ Please see the following sections in the testing docs for more information on ho
411411
Please also refer to [React Spectrum's test suite](https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/listbox/test/ListBox.test.js) if you find that the above
412412
isn't sufficient when resolving issues in your own test cases.
413413

414-
### Test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
414+
### Test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
415415

416416
`@react-spectrum/test-utils` offers common listbox interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
417417
in your tests. Below is the full definition of the listbox tester and a sample of how you could use it in your test suite.

packages/@react-spectrum/menu/docs/MenuTrigger.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ behaviors in your test suite.
258258
Please also refer to [React Spectrum's test suite](https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/menu/test/MenuTrigger.test.js) if you find that the above
259259
isn't sufficient when resolving issues in your own test cases.
260260

261-
### Test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
261+
### Test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
262262

263263
`@react-spectrum/test-utils` offers common menu interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
264264
in your tests. Below is the full definition of the menu tester and a sample of how you could use it in your test suite.

packages/@react-spectrum/picker/docs/Picker.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ for more information on how to handle these behaviors in your test suite.
590590
Please also refer to [React Spectrum's test suite](https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/picker/test/Picker.test.js) if you find that the above
591591
isn't sufficient when resolving issues in your own test cases.
592592

593-
### Test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
593+
### Test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
594594

595595
`@react-spectrum/test-utils` offers common select interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
596596
in your tests. Below is the full definition of the select tester and a sample of how you could use it in your test suite.

packages/@react-spectrum/table/docs/TableView.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1962,7 +1962,7 @@ behaviors in your test suite.
19621962
Please also refer to [React Spectrum's test suite](https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/table/test/Table.test.js) if you find that the above
19631963
isn't sufficient when resolving issues in your own test cases.
19641964

1965-
### Test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
1965+
### Test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
19661966

19671967
`@react-spectrum/test-utils` offers common table interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
19681968
in your tests. Below is the full definition of the table tester and a sample of how you could use it in your test suite.

packages/@react-spectrum/tabs/docs/Tabs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ function Example() {
633633

634634
## Testing
635635

636-
### Test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
636+
### Test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
637637

638638
Tabs features automatic tab collapse behavior and may need specific mocks to test said behavior. Please also refer to
639639
[React Spectrum's test suite](https://github.com/adobe/react-spectrum/blob/326f48154e301edab425c8198c5c3af72422462b/packages/%40react-spectrum/tabs/test/Tabs.test.js#L58-L62) if you

packages/@react-spectrum/tree/docs/TreeView.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ behaviors in your test suite.
531531
Please also refer to [React Spectrum's test suite](https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/tree/test/TreeView.test.tsx) if you find that the above
532532
isn't sufficient when resolving issues in your own test cases.
533533

534-
### Test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
534+
### Test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
535535

536536
`@react-spectrum/test-utils` offers common tree interaction utilities which you may find helpful when writing tests. See [here](../react-aria/testing.html#react-aria-test-utils) for more information on how to setup these utilities
537537
in your tests. Below is the full definition of the tree tester and a sample of how you could use it in your test suite.

packages/dev/docs/pages/react-aria/testing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ userEvent.tab();
147147
userEvent.click(document.activeElement);
148148
```
149149

150-
## React Aria test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
150+
## React Aria test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
151151

152152
[@react-aria/test-utils](https://www.npmjs.com/package/@react-aria/test-utils) is a set of testing utilities that aims to make writing unit tests easier for consumers of React Aria
153153
or for users who have built their own components following the respective ARIA pattern specification. By using the ARIA specification for any given component pattern as a source of truth,

packages/dev/docs/pages/react-spectrum/testing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ import {SSRProvider, Provider, lightTheme} from '@adobe/react-spectrum';
342342
</SSRProvider>
343343
```
344344

345-
## React Spectrum test utils <VersionBadge version="alpha" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
345+
## React Spectrum test utils <VersionBadge version="beta" style={{marginLeft: 4, verticalAlign: 'bottom'}} />
346346

347347
In addition to the test utilities mentioned above, [@react-spectrum/test-utils](https://www.npmjs.com/package/@react-spectrum/test-utils) re-exports the same test utils available in `@react-aria/test-utils`, including
348348
the ARIA pattern testers. These testers are set of testing utilities that aims to make writing unit tests easier for consumers of React Spectrum. By using the ARIA specification for any given component pattern as a source of truth,

0 commit comments

Comments
 (0)