Skip to content

armgit / mocha

Public Imported from GitHub
0

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

tryna fix failed build

Christopher Hiller77fcedae5dcb
diff --git a/test/acceptance/utils.js b/test/acceptance/utils.js
index 4bb52e3e..77817d2e 100644
--- a/test/acceptance/utils.js
+++ b/test/acceptance/utils.js
@@ -103,8 +103,8 @@ describe('lib/utils', function () {
.and.containEql('/tmp/mocha-utils.js')
.and.have.lengthOf(2);
existsSync('/tmp/mocha-utils-link.js').should.be.true;
- fs.rename('/tmp/mocha-utils.js', '/tmp/bob');
- existsSync('/tmp/mocha-utils-link.js').should.be.true;
+ fs.renameSync('/tmp/mocha-utils.js', '/tmp/bob');
+ existsSync('/tmp/mocha-utils-link.js').should.be.false;
utils.lookupFiles('/tmp', ['js'], false).should.eql([]);
});