From 55de7caf309b6177f9e6936bd4fdf19e27a33458 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 12 Jul 2024 03:21:41 +0100 Subject: [PATCH] Test: Add empty `assert.verifySteps()` test Cherry-picked from 2d227e1df7e5dbd9f30d41b3422f4891cf44b615. --- test/main/assert-step.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/main/assert-step.js b/test/main/assert-step.js index 3972aed7f..383b29708 100644 --- a/test/main/assert-step.js +++ b/test/main/assert-step.js @@ -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');