Skip to content

Commit

Permalink
Test: Add empty assert.verifySteps() test
Browse files Browse the repository at this point in the history
Cherry-picked from 2d227e1.
  • Loading branch information
Krinkle committed Jul 12, 2024
1 parent 4a35dbd commit 55de7ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/main/assert-step.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ QUnit.module('assert.step', function () {
assert.verifySteps(['two']);
});

QUnit.test('empty verifySteps()', function (assert) {
assert.verifySteps([]);
});

QUnit.test('errors if not called when `assert.step` is used', function (assert) {
assert.expect(2);
assert.step('one');
Expand Down

0 comments on commit 55de7ca

Please sign in to comment.