Download wp-calypso/client/lib/e2e/index.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/e2e/index.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/lib/e2e/index.ts
-
curl -L -o index.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/e2e/index.ts
245 Bytes
| // All end-to-end tests use a custom user agent containing this string. | |
| const E2E_USER_AGENT = 'wp-e2e-tests'; | |
| export function isE2ETest(): boolean { | |
| return typeof navigator !== 'undefined' && navigator.userAgent.includes( E2E_USER_AGENT ); | |
| } | |