☕️ Classic, reliable, trusted test framework for Node.js and the browser
use expect over assert
Craig Tauba4b97eb586c1
diff --git a/test/integration/options.spec.js b/test/integration/options.spec.jsindex 8d55fcdd..4d5829d2 100644--- a/test/integration/options.spec.js+++ b/test/integration/options.spec.js@@ -517,11 +517,8 @@ describe('options', function() {}var expectedCloseCursor = '\u001b[?25h';- assert(- data.output.indexOf(expectedCloseCursor) !== -1,- 'No assert found'- );- assert.equal(data.code, 130);+ expect(data.output).to.contain(expectedCloseCursor);+ expect(data.code).to.equal(130);done();};