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

Example of how to test with unhandledrejection #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NullVoxPopuli
Copy link

@NullVoxPopuli NullVoxPopuli commented Feb 1, 2024

I switched to

  • pnpm because it has patch-package built in.
  • embroider, so I could actually see what I was doing (good sourcemaps) 😅

@amk221
Copy link
Owner

amk221 commented Feb 1, 2024

😯 Thank you for going above and beyond. It will help me, but it will also help the rest of the Ember community.

I saw your screenshot, and it helped - because, mine looks different

Chrome Version 120.0.6099.234 (Official Build) (arm64)

Screenshot 2024-02-01 at 23 22 41

import { setupApplicationTest } from 'example/tests/helpers';

window.__errorHandler__;
Copy link
Author

@NullVoxPopuli NullVoxPopuli Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since QUnit already can't run tests in parallel (in the same context anyway) this is reasonably safe

@NullVoxPopuli
Copy link
Author

I saw your screenshot, and it helped - because, mine looks different

did you install with pnpm?

@amk221
Copy link
Owner

amk221 commented Feb 1, 2024

oh sorry i missed you actually had to patch qunit!

@NullVoxPopuli
Copy link
Author

yup 😅

I opened an issue on their repo here: qunitjs/qunit#1736

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