Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
bvandercar-vt committed Jan 7, 2025
1 parent 6681830 commit c74a4ac
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 5 deletions.
3 changes: 2 additions & 1 deletion test/specs/commandsLogging.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import {
logLastRun,
runTestColoredConsole,
} from '../utils';
const {expect} = require('chai');
import chalk from 'chalk';

const {expect} = require('chai');

describe('Commands logging.', () => {
afterEach(function () {
if (this.currentTest?.state === 'failed') {
Expand Down
1 change: 1 addition & 0 deletions test/specs/compactLogs.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {ICONS, runTest, commandBase, logLastRun} from '../utils';

const {expect} = require('chai');

describe('Compact logs.', () => {
Expand Down
1 change: 1 addition & 0 deletions test/specs/componentTesting.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {ICONS, runTest, commandBase, logLastRun} from '../utils';

const {expect} = require('chai');

describe('Component testing support.', () => {
Expand Down
1 change: 1 addition & 0 deletions test/specs/extendedController.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
outputCleanUpAndInitialization,
logLastRun,
} from '../utils';

const {expect} = require('chai');
require('chai').config.truncateThreshold = 0;

Expand Down
1 change: 1 addition & 0 deletions test/specs/filteringAndConditionalLogging.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {ICONS, runTest, commandBase, logLastRun} from '../utils';

const {expect} = require('chai');

describe('Filtering and conditional logging.', () => {
Expand Down
1 change: 1 addition & 0 deletions test/specs/misc.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
outputCleanUpAndInitialization,
expectOutputFilesToBeCorrect,
} from '../utils';

const {expect} = require('chai');

describe('Misc.', () => {
Expand Down
3 changes: 2 additions & 1 deletion test/specs/otherPluginIntegration.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import {ICONS, runTest, commandBase, expectOutFilesMatch, logLastRun} from '../utils';
const {expect} = require('chai');
import * as fs from 'fs';
import * as glob from 'glob';

const {expect} = require('chai');

describe('Other plugin integrations.', () => {
afterEach(function () {
if (this.currentTest?.state == 'failed') {
Expand Down
3 changes: 2 additions & 1 deletion test/specs/outputCompactLogs.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import {runTest, commandBase, logLastRun, clean} from '../utils';
const {expect} = require('chai');
import * as fs from 'fs';
import * as path from 'path';

const {expect} = require('chai');

function getOutputFileContents() {
const outputFile = path.join(__dirname, '../output/out.txt');
expect(fs.existsSync(outputFile), `Expected output file ${outputFile} to exist.`).to.be.true;
Expand Down
3 changes: 2 additions & 1 deletion test/specs/outputToFiles.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ import {
outputCleanUpAndInitialization,
logLastRun,
} from '../utils';
const {expect} = require('chai');
import * as fs from 'fs';
import * as path from 'path';
import * as glob from 'glob';
import * as fsExtra from 'fs-extra';

const {expect} = require('chai');

describe('Output to files.', () => {
afterEach(function () {
if (this.currentTest?.state == 'failed') {
Expand Down
1 change: 1 addition & 0 deletions test/specs/utils.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import utils from '../../src/utils';

const {expect} = require('chai');

const {applyMessageMarkdown} = utils;
Expand Down
1 change: 1 addition & 0 deletions test/specs/validation.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {runTest, commandBase, logLastRun} from '../utils';

const {expect} = require('chai');

describe('Validation.', () => {
Expand Down
3 changes: 2 additions & 1 deletion test/utils.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import {exec, ExecException, spawn} from 'child_process';
const {expect} = require('chai');
import * as fs from 'fs';
import * as path from 'path';
import * as os from 'os';
import chalk from 'chalk';

const {expect} = require('chai');

let commandPrefix = 'node ./node_modules/.bin/cypress';

if (process.platform === 'win32') {
Expand Down

0 comments on commit c74a4ac

Please sign in to comment.