☕️ Classic, reliable, trusted test framework for Node.js and the browser
Fixes test for utils.lookupFiles.
Joshua Appelman26b0db65f436
diff --git a/test/acceptance/utils.js b/test/acceptance/utils.jsindex 7c3b8d2a..d1bc052a 100644--- a/test/acceptance/utils.js+++ b/test/acceptance/utils.js@@ -96,7 +96,10 @@ describe('lib/utils', function () {});it('should not choke on symlinks', function () {- utils.lookupFiles('/tmp', ['js'], false).should.eql(['/tmp/mocha-utils-link.js', '/tmp/mocha-utils.js']);+ utils.lookupFiles('/tmp', ['js'], false)+ .should.containEql('/tmp/mocha-utils-link.js')+ .and.containEql('/tmp/mocha-utils.js')+ .and.have.lengthOf(2);fs.existsSync('/tmp/mocha-utils-link.js').should.be.true;fs.rename('/tmp/mocha-utils.js', '/tmp/bob');fs.existsSync('/tmp/mocha-utils-link.js').should.be.true;