fix by duplicating into testoptions

This commit is contained in:
Simon Knott 2024-12-05 15:17:10 -08:00
parent 13754e1c59
commit efb8b20727
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -392,8 +392,11 @@ export default defineConfig({
}); });
``` ```
## property: TestOptions.locale = %%-context-option-locale-%% ## property: TestOptions.locale
* since: v1.10 * since: v1.10
- type: <[string]>
Specify user locale, for example `en-GB`, `de-DE`, etc. Locale will affect `navigator.language` value, `Accept-Language` request header value as well as number and date formatting rules. Defaults to `en-US`. Learn more about emulation in our [emulation guide](../emulation.md#locale--timezone).
**Usage** **Usage**