-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: fix code examples in CONTRIBUTING.md #402
doc: fix code examples in CONTRIBUTING.md #402
Conversation
CONTRIBUTING.md
Outdated
@@ -86,7 +86,7 @@ npm run unit -- --filter=waitFor | |||
... | |||
// Using "fit" to run specific test | |||
fit('should work', SX(async function() { | |||
await response = page.goto(EMPTY_PAGE); | |||
response = await page.goto(EMPTY_PAGE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const response
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
CONTRIBUTING.md
Outdated
@@ -95,7 +95,7 @@ npm run unit -- --filter=waitFor | |||
... | |||
// Using "xit" to skip specific test | |||
xit('should work', SX(async function() { | |||
await response = page.goto(EMPTY_PAGE); | |||
response = await page.goto(EMPTY_PAGE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const response
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And done.
* fix `ReferenceError: Invalid left-hand side in assignment` errors * add variable declarations * unify spacing with examples in the README.md
5d01a5f
to
f423bde
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💥 thanks
fix
ReferenceError: Invalid left-hand side in assignment
errorsadd variable declarations
unify spacing with examples in the README.md