Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

should -> expect [ci skip] (one more file...)

Scott Santuccib20002213e09
diff --git a/test/unit/runnable.spec.js b/test/unit/runnable.spec.js
index 5ee36297..c67366b6 100644
--- a/test/unit/runnable.spec.js
+++ b/test/unit/runnable.spec.js
@@ -92,7 +92,7 @@ describe('Runnable(title, fn)', function () {
it('returns the concatenation of the parent\'s title path and runnable\'s title', function () {
var runnable = new Runnable('bar');
runnable.parent = new Suite('foo');
- runnable.titlePath().should.deepEqual(['foo', 'bar']);
+ expect(runnable.titlePath()).to.eql(['foo', 'bar']);
});
});