Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: fix broken docs by wrong snippet lang (#12306)

Max Schmitt5be9f684467d
diff --git a/docs/src/test-advanced-js.md b/docs/src/test-advanced-js.md
index 5322742901..0f6def61b9 100644
--- a/docs/src/test-advanced-js.md
+++ b/docs/src/test-advanced-js.md
@@ -561,7 +561,7 @@ test('numeric ranges', () => {
For TypeScript, also add the following to `global.d.ts`. You don't need it for JavaScript.
-```js js-flavor=ts
+```js
// global.d.ts
declare global {
namespace PlaywrightTest {