Skip to content

Commit

Permalink
new line changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ansh21 committed Mar 21, 2024
1 parent 073ff6d commit dd9e7e0
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions test/src/cli/testCliRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ describe('Test CLI Runner', function() {

done();
});


it('testReadSettingsDeprecated', function(done) {
mockery.registerMock('fs', {
Expand Down Expand Up @@ -497,8 +496,6 @@ describe('Test CLI Runner', function() {
done();
});



it('testCustomSettingsFileAndEnvironment', function() {
mockery.registerMock('fs', {
existsSync() {
Expand Down Expand Up @@ -537,7 +534,7 @@ describe('Test CLI Runner', function() {
it('testGetTestSourceSingle', function() {
let statCalled = false;
let statSyncCalled = false;

mockery.registerMock('fs', {
existsSync() {
return false;
Expand All @@ -559,7 +556,6 @@ describe('Test CLI Runner', function() {

throw new Error('Does not exist');
},


stat(file, cb) {
if (file === 'demoTest') {
Expand Down Expand Up @@ -1435,13 +1431,13 @@ describe('Test CLI Runner', function() {
const listFileOutput = JSON.stringify({
default: testsPath
});

const origConsoleLog = console.log;

console.log = function (data) {
consoleData.push(data);
};

mockery.registerMock('./runner/cli/argv-setup.js', {
argv: {
_: testsPath,
Expand All @@ -1460,13 +1456,13 @@ describe('Test CLI Runner', function() {
const listFileOutput = JSON.stringify({
chrome: testsPath
});

const origConsoleLog = console.log;

console.log = function (data) {
consoleData.push(data);
};

mockery.registerMock('./runner/cli/argv-setup.js', {
argv: {
_: testsPath,
Expand Down

0 comments on commit dd9e7e0

Please sign in to comment.