Skip to content
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: fix Promise rejection was handled asynchronously #1784

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Conversation

Lightning00Blade
Copy link
Collaborator

There were errors coming from this UnitTest

(node:1270676) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 3)
    at handledRejection (node:internal/process/promises:173:23)
    at promiseRejectHandler (node:internal/process/promises:119:7)
    at Promise.then (<anonymous>)
    at Proxy.<anonymous> (/usr/local/google/home/nvitkov/bidi/node_modules/chai-as-promised/lib/chai-as-promised.js:169:53)
    at Proxy.<anonymous> (/usr/local/google/home/nvitkov/bidi/node_modules/chai-as-promised/lib/chai-as-promised.js:47:29)
    at Proxy.methodWrapper (/usr/local/google/home/nvitkov/bidi/node_modules/chai/lib/chai/utils/addMethod.js:57:25)
    at Context.<anonymous> (/usr/local/google/home/nvitkov/bidi/src/cdp/CdpClient.spec.ts:223:53)

@Lightning00Blade Lightning00Blade changed the title chore: fix Promise rejection was handled asynchronously test: fix Promise rejection was handled asynchronously Jan 30, 2024
@Lightning00Blade Lightning00Blade enabled auto-merge (squash) January 30, 2024 17:19
@Lightning00Blade Lightning00Blade merged commit fe46377 into main Jan 30, 2024
@Lightning00Blade Lightning00Blade deleted the fix-unit branch January 30, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants