Skip to content

feat(testing): add sanitization of pending promises#55

Open
Im-Beast wants to merge 9 commits intomainfrom
sanitize-pending-promises
Open

feat(testing): add sanitization of pending promises#55
Im-Beast wants to merge 9 commits intomainfrom
sanitize-pending-promises

Conversation

@Im-Beast
Copy link
Copy Markdown
Member

Currently this is done via promise hooks.

Later on this approach will probably be opt-in and only Promises returned in test will be sanitized.

@Im-Beast Im-Beast assigned Im-Beast and unassigned Im-Beast Mar 23, 2024
@Im-Beast Im-Beast requested a review from andreubotella March 23, 2024 18:12
@Im-Beast Im-Beast changed the title feat: add sanitization of pending promises feat(testing): add sanitization of pending promises Mar 23, 2024
Comment thread examples/timer-microtask.js Outdated
Comment thread ext/testing/lib.rs Outdated
Comment thread ext/testing/promise_tracker.rs Outdated
Comment thread ext/testing/mod.js
Comment thread ext/testing/mod.js
@Im-Beast Im-Beast requested a review from andreubotella March 24, 2024 16:34
Comment thread ext/testing/promise_tracker.rs Outdated
Comment thread ext/testing/mod.js
Comment thread tests/testing/promise_tracking.js
Comment thread tests/testing/returned_promise_leak.js
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.

2 participants