-
Notifications
You must be signed in to change notification settings - Fork 781
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: Convert more ad-hoc asserts to generic tap-outputs.js cases
Various tests were still using ad-hoc asserts and `string.includes()` when their output was actually deterministic with the current normalization for internal frames etc, and thus can be handled the generic way instead. I'm moving these over in preparation for #1684. Some did need normalization for `/bin` and `/src/cli`, which are hereby added. Remove any use of `assert.pushResult({ result: false }` statements which was only sometimes done, and is redundant anyway given that the case of an expected-failure not happening, results in no assertions and thus the test will already fail. This does mean that in those cases, the output is not printed when running qunit's own tests. This does not affect end-users of QUnit, and I'll bring it back in some form as part of #1684.
- Loading branch information
Showing
6 changed files
with
294 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
QUnit.test('test with no assertions', () => { | ||
QUnit.test('no assertions', () => { | ||
}); |
Oops, something went wrong.