MCPcopy Create free account
hub / github.com/adobe/react-spectrum / languageProps

Function languageProps

packages/react-aria/test/i18n/languagechange.test.js:27–33  ·  view source on GitHub ↗
(language)

Source from the content-addressed store, hash-verified

25}
26
27function languageProps(language) {
28 return {
29 value: language,
30 writable: true,
31 configurable: true
32 };
33}
34
35describe('useLocale languagechange', () => {
36 let originalNavigator;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected