-
Notifications
You must be signed in to change notification settings - Fork 354
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
test: e2e no floating promises [INFENG-668] #9283
Conversation
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9283 +/- ##
==========================================
- Coverage 44.58% 37.91% -6.67%
==========================================
Files 1275 951 -324
Lines 156216 116426 -39790
Branches 2451 2451
==========================================
- Hits 69650 44146 -25504
+ Misses 86326 72040 -14286
Partials 240 240
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
I like this as long as it doesn't cause problems for non-test frontend code.
@@ -290,7 +290,7 @@ export class HeadRow extends NamedComponent { | |||
if (index === null) throw new Error(); | |||
this.#columnDefs.set(await cell.innerText(), +index); | |||
} catch { | |||
Promise.reject( | |||
await Promise.reject( |
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.
why not just throw the error?
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.
oh, sure!
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.
check again, please!
7384881
to
6040a9e
Compare
Ticket
INFENG-668
Description
show linting errors on floating promises
Test Plan
Here's an example of a successful lint
Checklist
docs/release-notes/
.See Release Note for details.