diff --git a/test/node-unit/cli/options.spec.js b/test/node-unit/cli/options.spec.js index d6cda4d704..ec7a2d2513 100644 --- a/test/node-unit/cli/options.spec.js +++ b/test/node-unit/cli/options.spec.js @@ -206,13 +206,14 @@ describe('options', function() { }); it('should have attempted to load two files', function() { - expect(readFileSync, 'was called times', 2).and( - 'to have calls satisfying', - [ - {args: ['/some/package.json', 'utf8']}, - {args: ['/path/to/mocha.opts', 'utf8']} - ] - ); + expect( + readFileSync, + 'was called times', + 2 + ).and('to have calls satisfying', [ + {args: ['/some/package.json', 'utf8']}, + {args: ['/path/to/mocha.opts', 'utf8']} + ]); }); it('should set opts = false', function() { @@ -255,10 +256,14 @@ describe('options', function() { }); it('should not attempt to read any mocha.opts', function() { - expect(readFileSync, 'was called times', 1).and( - 'to have all calls satisfying', - ['/some/package.json', 'utf8'] - ); + expect( + readFileSync, + 'was called times', + 1 + ).and('to have all calls satisfying', [ + '/some/package.json', + 'utf8' + ]); }); it('should set opts = false', function() { diff --git a/test/unit/utils.spec.js b/test/unit/utils.spec.js index afd563feb8..a54535b1a5 100644 --- a/test/unit/utils.spec.js +++ b/test/unit/utils.spec.js @@ -409,7 +409,11 @@ describe('lib/utils', function() { }); it('should handle empty functions (with no properties)', function() { - expect(stringify(function() {}), 'to be', '[Function]'); + expect( + stringify(function() {}), + 'to be', + '[Function]' + ); expect( stringify({foo: function() {}}), 'to be',