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

Tests: Add tests covering callback failures #1634

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

Krinkle
Copy link
Member

@Krinkle Krinkle commented Jul 5, 2021

Capture the status quo before changing it.

Minor changes:

  • Switch remaining notEquals/indexOf uses to the preferred assert.true( str.includes() ) idiom.

  • Fix duplicate printing of error message due to V8's Error#stack, as used by onUncaughtException.
    Ref Core: Fix late onerror handling #1629.

  • Start normalizing stderror in tests like we do with stdout.

  • Account for qunit.js stack frames from native Promise in V8, which doesn't include a function name or paranthesis.

Ref #1446.
Ref #1633.

Capture the status quo before changing it.

Minor changes:

* Switch remaining notEquals/indexOf uses to the preferred
  `assert.true( str.includes() )` idiom.

* Fix duplicate printing of error message due to V8's `Error#stack`,
  as used by onUncaughtException.
  Ref qunitjs#1629.

* Start normalizing stderror in tests like we do with stdout.

* Account for qunit.js stack frames from native Promise in V8,
  which doesn't include a function name or paranthesis.

Ref qunitjs#1446.
Ref qunitjs#1633.
@Krinkle Krinkle merged commit 66081d6 into qunitjs:main Jul 5, 2021
@Krinkle Krinkle deleted the test-bad-callbacks branch July 5, 2021 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant