From 5f1188d195c07318228795fc4b3757a08378893c Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 9 Mar 2022 17:10:37 -0800 Subject: [PATCH] docs: fix js example formatting (#12635) --- docs/src/test-pom-js.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/test-pom-js.md b/docs/src/test-pom-js.md index c900098fa9..d70a11022f 100644 --- a/docs/src/test-pom-js.md +++ b/docs/src/test-pom-js.md @@ -37,7 +37,8 @@ exports.PlaywrightDevPage = class PlaywrightDevPage { await this.getStarted(); await this.pomLink.click(); } -}``` +} +``` ```js js-flavor=ts // playwright-dev-page.ts @@ -71,7 +72,8 @@ export class PlaywrightDevPage { await this.getStarted(); await this.pomLink.click(); } -}``` +} +``` Now we can use the `PlaywrightDevPage` class in our tests.