Skip to content

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

docs: syntax highlighting in vitest example (#15585)

jfgreffierf42ab636f668
diff --git a/docs/src/test-runners-js.md b/docs/src/test-runners-js.md
index 85e8f41e3a..a8f1e36263 100644
--- a/docs/src/test-runners-js.md
+++ b/docs/src/test-runners-js.md
@@ -96,7 +96,7 @@ it('should work', async () => {
Vitest looks very similar to the Jest/Jasmine setup, and functions in the same way.
-```
+```js
import { chromium } from 'playwright';
import { afterAll, afterEach, beforeAll, beforeEach, expect, test } from 'vitest';
let browser;