From 9e2733d5202f13d0d5f5871bd1f2b1c5aa83ca79 Mon Sep 17 00:00:00 2001 From: David Gilbertson Date: Mon, 18 May 2020 13:43:00 +1000 Subject: [PATCH] docs(test-runners.md): add WebStorm comment (#2279) --- docs/test-runners.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/test-runners.md b/docs/test-runners.md index d5db9c8590..0dbcaaec39 100644 --- a/docs/test-runners.md +++ b/docs/test-runners.md @@ -105,9 +105,9 @@ If using TypeScript, add types to your variables like: let page: import('playwright').Page; ``` -If using JavaScript, you can still get nice autocompletions in VSCode by using JSDOC +If using JavaScript, you can still get nice autocompletions in VSCode or WebStorm by using JSDoc. ```js -/** @type {import('playwright').Page} **/ +/** @type {import('playwright').Page} */ let page; ``` @@ -125,4 +125,4 @@ beforeAll(async() => { ``` Then set `BROWSER=firefox` to run your tests with firefox, or any other browser. - \ No newline at end of file +