docs(test-runners.md): add WebStorm comment (#2279)

This commit is contained in:
David Gilbertson 2020-05-18 13:43:00 +10:00 committed by GitHub
parent 125312f78b
commit 9e2733d520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.