diff --git a/goldens/api/@betterer/betterer.d.ts b/goldens/api/@betterer/betterer.d.ts index d0c7d314d..b4810324d 100644 --- a/goldens/api/@betterer/betterer.d.ts +++ b/goldens/api/@betterer/betterer.d.ts @@ -292,9 +292,7 @@ export declare type BettererSuiteSummaries = ReadonlyArray export declare type BettererSuiteSummary = BettererSuite & { readonly runs: BettererRunSummaries; - readonly result: string; - readonly expected: string | null; - readonly unexpectedDiff: boolean; + readonly changed: BettererRunNames; readonly better: BettererRunSummaries; readonly completed: BettererRunSummaries; readonly expired: BettererRunSummaries; diff --git a/goldens/api/@betterer/cli.d.ts b/goldens/api/@betterer/cli.d.ts index 8e196dc22..1c965ba84 100644 --- a/goldens/api/@betterer/cli.d.ts +++ b/goldens/api/@betterer/cli.d.ts @@ -72,6 +72,6 @@ export declare function initΔ(cwd: string, argv: BettererCLIArguments): Promise export declare function precommitΔ(cwd: string, argv: BettererCLIArguments): Promise; -export declare function startΔ(cwd: string, argv: BettererCLIArguments): Promise; +export declare function startΔ(cwd: string, argv: BettererCLIArguments, ci?: boolean): Promise; export declare function watchΔ(cwd: string, argv: BettererCLIArguments): Promise; diff --git a/jest.config.js b/jest.config.js index 3bece079f..ea5f2b233 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,5 +12,6 @@ module.exports = { coverageDirectory: '/reports/coverage', preset: 'ts-jest', testEnvironment: 'node', - testRegex: '.*\\.spec\\.ts$' + testRegex: '.*\\.spec\\.ts$', + watchPathIgnorePatterns: ['/fixtures', '/packages/[^/]+/src'] }; diff --git a/packages/betterer/src/context/context.ts b/packages/betterer/src/context/context.ts index 628138678..86423211c 100644 --- a/packages/betterer/src/context/context.ts +++ b/packages/betterer/src/context/context.ts @@ -41,14 +41,10 @@ export class BettererContextΩ implements BettererContext { await this.reporter.contextEnd(contextSummary); const suiteSummaryΩ = contextSummary.lastSuite; - if (suiteSummaryΩ.shouldWrite) { - await this.results.write(suiteSummaryΩ.result); - - await this.versionControl.writeCache(); - if (this.config.precommit) { - await this.versionControl.add(this.config.resultsPath); - } + if (!this.config.ci) { + await this.results.write(suiteSummaryΩ, this.config.precommit); } + return contextSummary; }, error: async (error: BettererError): Promise => { diff --git a/packages/betterer/src/globals.ts b/packages/betterer/src/globals.ts index 58a1e68d3..7a4ca7d59 100644 --- a/packages/betterer/src/globals.ts +++ b/packages/betterer/src/globals.ts @@ -21,7 +21,7 @@ export async function createGlobals(options: unknown = {}): Promise { + const baseline = await parse(resultsPath); + return new BettererResultsΩ(resultsPath, versionControl, baseline, baseline); } - public async sync(): Promise { - this._expected = await parse(this._resultsPath); - if (!this._baseline) { - this._baseline = this._expected; - } + public getChanged(runSummaries: BettererRunSummaries): BettererRunNames { + const missingRuns = Object.keys(this._expected).filter( + (name) => !runSummaries.find((runSummary) => runSummary.name === name) + ); + const changedRuns = runSummaries + .filter((runSummary) => !runSummary.isNew && !runSummary.isFailed && !runSummary.isSkipped) + .filter((runSummary) => runSummary.printed !== this._expected[runSummary.name].value) + .map((runSummary) => runSummary.name); + const newRuns = runSummaries.filter((runSummary) => runSummary.isNew).map((runSummary) => runSummary.name); + const worseRuns = runSummaries.filter((runSummary) => runSummary.isWorse).map((runSummary) => runSummary.name); + return [...missingRuns, ...changedRuns, ...newRuns, ...worseRuns]; } public getExpected(name: string): [string, string] { - assert(this._baseline); - assert(this._expected); const baseline = this._getResult(name, this._baseline); const expected = this._getResult(name, this._expected) || baseline; return [baseline, expected]; @@ -37,19 +49,21 @@ export class BettererResultsΩ { return Object.hasOwnProperty.call(this._expected, name); } - public read(): Promise { - return read(this._resultsPath); - } - - public print(runs: BettererRunSummaries): string { - const toPrint = runs.filter((run) => run.printed != null); - const printedResults = toPrint.map((run) => print(run.name, run.printed as string)); - const printed = [RESULTS_HEADER, ...printedResults].join(''); - return forceRelativePaths(printed, this._resultsPath); + public async sync(): Promise { + this._expected = await parse(this._resultsPath); } - public write(printed: string): Promise { - return write(printed, this._resultsPath); + public async write(suiteSummary: BettererSuiteSummary, precommit: boolean): Promise { + const expected = await read(this._resultsPath); + const result = this._print(suiteSummary.runs); + const shouldWrite = expected !== result; + if (shouldWrite) { + await write(result, this._resultsPath); + await this._versionControl.writeCache(); + if (precommit) { + await this._versionControl.add(this._resultsPath); + } + } } private _getResult(name: string, expectedResults: BettererExpectedResults): string { @@ -58,4 +72,10 @@ export class BettererResultsΩ { const { value } = expectedResults[name]; return value; } + + private _print(runSummaries: BettererRunSummaries): string { + const toPrint = runSummaries.filter((runSummary) => runSummary.printed != null); + const printedResults = toPrint.map((runSummary) => print(runSummary.name, runSummary.printed as string)); + return [RESULTS_HEADER, ...printedResults].join(''); + } } diff --git a/packages/betterer/src/run/index.ts b/packages/betterer/src/run/index.ts index a829bc1fa..a112dbed3 100644 --- a/packages/betterer/src/run/index.ts +++ b/packages/betterer/src/run/index.ts @@ -1,5 +1,12 @@ export { BettererRunΩ, BettererRunsΩ } from './run'; export { BettererRunWorkerPoolΩ } from './run-worker-pool'; -export { BettererRun, BettererRuns, BettererReporterRun, BettererRunSummary, BettererRunSummaries } from './types'; +export { + BettererRun, + BettererRuns, + BettererRunNames, + BettererReporterRun, + BettererRunSummary, + BettererRunSummaries +} from './types'; export { createWorkerConfig } from './worker-run-config'; export { BettererWorkerRunΩ } from './worker-run'; diff --git a/packages/betterer/src/run/run-summary.ts b/packages/betterer/src/run/run-summary.ts index 619224d77..7f86c0c8e 100644 --- a/packages/betterer/src/run/run-summary.ts +++ b/packages/betterer/src/run/run-summary.ts @@ -46,7 +46,7 @@ export class BettererRunSummaryΩ implements BettererRunSummary { this.filePaths = run.filePaths; this.isBetter = status === BettererRunStatus.better; this.isFailed = status === BettererRunStatus.failed; - this.isNew = run.isNew; + this.isNew = status === BettererRunStatus.new; this.isSame = status === BettererRunStatus.same; this.isSkipped = status === BettererRunStatus.skipped; this.isUpdated = status === BettererRunStatus.update; diff --git a/packages/betterer/src/run/worker-run.ts b/packages/betterer/src/run/worker-run.ts index c7b6b532c..486d19585 100644 --- a/packages/betterer/src/run/worker-run.ts +++ b/packages/betterer/src/run/worker-run.ts @@ -3,7 +3,7 @@ import { BettererError } from '@betterer/errors'; import assert from 'assert'; import { BettererConfig } from '../config'; -import { BettererFilePaths, BettererVersionControlWorker } from '../fs'; +import { BettererFilePaths, BettererVersionControlWorker, forceRelativePaths } from '../fs'; import { createWorkerGlobals } from '../globals'; import { BettererResult, BettererResultΩ } from '../results'; import { BettererDiff, BettererTestConfig, BettererTestMeta, isBettererFileTest, loadTestMeta } from '../test'; @@ -167,7 +167,7 @@ export class BettererWorkerRunΩ implements BettererRun { if (shouldPrint) { const toPrint = isFailed || isSkipped || isWorse ? this.expected : (result as BettererResult); const toPrintSerialised = this.test.serialiser.serialise(toPrint.value, config.resultsPath); - printed = await this.test.printer(toPrintSerialised); + printed = forceRelativePaths(await this.test.printer(toPrintSerialised), config.resultsPath); } return new BettererRunSummaryΩ( diff --git a/packages/betterer/src/suite/suite-summary.ts b/packages/betterer/src/suite/suite-summary.ts index 9fbe00ccc..93d164d84 100644 --- a/packages/betterer/src/suite/suite-summary.ts +++ b/packages/betterer/src/suite/suite-summary.ts @@ -1,25 +1,13 @@ import { BettererFilePaths } from '../fs'; -import { BettererRunSummaries } from '../run'; -import { BettererSuite, BettererSuiteSummary } from './types'; +import { BettererRunNames, BettererRunSummaries } from '../run'; +import { BettererSuiteSummary } from './types'; export class BettererSuiteSummaryΩ implements BettererSuiteSummary { - public readonly filePaths: BettererFilePaths; - public readonly unexpectedDiff: boolean; - public readonly shouldWrite: boolean; - constructor( - suite: BettererSuite, + public readonly filePaths: BettererFilePaths, public readonly runs: BettererRunSummaries, - public readonly result: string, - public readonly expected: string | null, - ci: boolean - ) { - this.filePaths = suite.filePaths; - const hasDiff = !!this.expected && this.expected !== this.result; - this.unexpectedDiff = hasDiff && ci; - const expectedDiff = hasDiff && !ci; - this.shouldWrite = !this.expected || expectedDiff; - } + public readonly changed: BettererRunNames + ) {} public get completed(): BettererRunSummaries { return this.runs.filter((run) => run.isComplete); diff --git a/packages/betterer/src/suite/suite.ts b/packages/betterer/src/suite/suite.ts index 3a369b23d..2df6b0ff0 100644 --- a/packages/betterer/src/suite/suite.ts +++ b/packages/betterer/src/suite/suite.ts @@ -36,9 +36,8 @@ export class BettererSuiteΩ implements BettererSuite { const reportSuiteStart = this._reporter.suiteStart(this, runsLifecycle.promise); try { const runSummaries = await this._runTests(runLifecycles); - const result = this._results.print(runSummaries); - const expected = await this._results.read(); - const suiteSummary = new BettererSuiteSummaryΩ(this, runSummaries, result, expected, this._config.ci); + const changed = this._results.getChanged(runSummaries); + const suiteSummary = new BettererSuiteSummaryΩ(this.filePaths, runSummaries, changed); runsLifecycle.resolve(suiteSummary); await reportSuiteStart; await this._reporter.suiteEnd(suiteSummary); diff --git a/packages/betterer/src/suite/types.ts b/packages/betterer/src/suite/types.ts index f685c6510..03bed578b 100644 --- a/packages/betterer/src/suite/types.ts +++ b/packages/betterer/src/suite/types.ts @@ -1,5 +1,5 @@ import { BettererFilePaths } from '../fs'; -import { BettererRuns, BettererRunSummaries } from '../run'; +import { BettererRunNames, BettererRuns, BettererRunSummaries } from '../run'; export type BettererSuite = { readonly filePaths: BettererFilePaths; @@ -8,9 +8,7 @@ export type BettererSuite = { export type BettererSuiteSummary = BettererSuite & { readonly runs: BettererRunSummaries; - readonly result: string; - readonly expected: string | null; - readonly unexpectedDiff: boolean; + readonly changed: BettererRunNames; readonly better: BettererRunSummaries; readonly completed: BettererRunSummaries; diff --git a/packages/cli/bin/betterer-ci b/packages/cli/bin/betterer-ci index 0d53b8b10..21e79bbf9 100755 --- a/packages/cli/bin/betterer-ci +++ b/packages/cli/bin/betterer-ci @@ -2,7 +2,7 @@ require('../dist/ci') .ciΔ(process.cwd(), process.argv) .then(function (suiteSummary) { - process.exitCode = suiteSummary.unexpectedDiff || suiteSummary.worse.length !== 0 ? 1 : 0; + process.exitCode = suiteSummary.changed.length ? 1 : 0; }) .catch(function () { process.exitCode = 1; diff --git a/packages/cli/src/start.ts b/packages/cli/src/start.ts index e8bcf4761..35eeefad0 100644 --- a/packages/cli/src/start.ts +++ b/packages/cli/src/start.ts @@ -5,8 +5,12 @@ import { cliOptions } from './options'; import { BettererCLIArguments } from './types'; /** @internal Definitely not stable! Please don't use! */ -export function startΔ(cwd: string, argv: BettererCLIArguments): Promise { - if (process.env.CI) { +export function startΔ( + cwd: string, + argv: BettererCLIArguments, + ci = process.env.CI === 'true' +): Promise { + if (ci) { return ciΔ(cwd, argv); } diff --git a/packages/reporter/src/components/Reporter.tsx b/packages/reporter/src/components/Reporter.tsx index a0fd46b99..2dcc006f5 100644 --- a/packages/reporter/src/components/Reporter.tsx +++ b/packages/reporter/src/components/Reporter.tsx @@ -13,7 +13,7 @@ export const Reporter: FC = function Reporter(props: Bett const ReporterComponent = context.config.watch ? WatchReporter : DefaultReporter; return ( - + diff --git a/packages/reporter/src/components/runs/SuiteSummary.tsx b/packages/reporter/src/components/runs/SuiteSummary.tsx index d134df099..9e02f2af6 100644 --- a/packages/reporter/src/components/runs/SuiteSummary.tsx +++ b/packages/reporter/src/components/runs/SuiteSummary.tsx @@ -1,7 +1,6 @@ import React, { FC, memo } from 'react'; import { BettererContext, BettererSuiteSummary } from '@betterer/betterer'; -import { diffΔ } from '@betterer/logger'; import { Box, Text, TextProps } from 'ink'; import { @@ -15,7 +14,8 @@ import { testSkipped, testUpdated, testWorse, - unexpectedDiff, + unexpectedChanges, + unexpectedChangesInstructions, updateInstructions } from '../../messages'; import { quote } from '../../utils'; @@ -27,16 +27,16 @@ export type SuiteSummaryProps = { const TEXT_COLOURS: Record = { better: 'greenBright', + changed: 'red', checked: 'gray', completed: 'greenBright', - diff: 'red', expired: 'brightRed', failed: 'brightRed', new: 'gray', obsolete: 'brightRed', same: 'brightYellow', skipped: 'brightYellow', - updated: 'gray', + updated: 'white', worse: 'red' }; @@ -80,10 +80,15 @@ export const SuiteSummary: FC = memo(function SuiteSummary({ ) : null} - {suiteSummary.unexpectedDiff ? ( + {context.config.ci && suiteSummary.changed.length ? ( - {unexpectedDiff()} - {diffΔ(suiteSummary.expected, suiteSummary.result)} + {unexpectedChanges()} + + {suiteSummary.changed.map((name) => ( + "{name}" + ))} + + {unexpectedChangesInstructions()} ) : null} diff --git a/packages/reporter/src/messages.ts b/packages/reporter/src/messages.ts index fe5900fad..0ea9e6bad 100644 --- a/packages/reporter/src/messages.ts +++ b/packages/reporter/src/messages.ts @@ -33,11 +33,15 @@ export function testWorse(context: string, delta = ''): string { } export function updateInstructions(): string { - return `You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙`; + return 'You should try to fix the new issues! As a last resort, you can run `betterer --update` to force an update of the results file. 🆙'; } -export function unexpectedDiff(): string { - return 'Unexpected diff found:'; +export function unexpectedChanges(): string { + return 'Unexpected changes detected in these tests while running in CI mode:'; +} + +export function unexpectedChangesInstructions(): string { + return 'You should make sure the results file is up-to-date before committing! You might want to run `betterer precommit` in a commit hook. 💍'; } export function filesChecking(files: number): string { diff --git a/test/__snapshots__/better-result.spec.ts.snap b/test/__snapshots__/better-result.spec.ts.snap index 28d89f7bd..f016847e8 100644 --- a/test/__snapshots__/better-result.spec.ts.snap +++ b/test/__snapshots__/better-result.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -30,7 +28,6 @@ Array [ 🎉 Betterer (0ms): 2 tests done! ✅ should shrink: \\"should shrink\\" got checked for the first time! 🎉 ✅ should grow: \\"should grow\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -45,7 +42,6 @@ Array [ 2 tests got checked. 🤔 2 tests got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -53,7 +49,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -63,7 +58,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -75,7 +69,6 @@ Array [ 🎉 Betterer (0ms): 2 tests done! ✅ should shrink: \\"should shrink\\" got better! 😍 ✅ should grow: \\"should grow\\" got better! 😍 - ", " / | / _ _ _ @@ -90,7 +83,6 @@ Array [ 2 tests got checked. 🤔 2 tests got better! 😍 - ", ] `; diff --git a/test/__snapshots__/better-test-change.spec.ts.snap b/test/__snapshots__/better-test-change.spec.ts.snap index 005a87b63..823456739 100644 --- a/test/__snapshots__/better-test-change.spec.ts.snap +++ b/test/__snapshots__/better-test-change.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (3 issues) 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (3 issues) 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got better! (1 fixed issue, 2 remaining) 😍 - ", " / | / _ _ _ @@ -116,7 +106,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got better! (1 fixed issue, 2 remaining) 😍 - ", " / | / _ _ _ @@ -130,7 +119,6 @@ Array [ 1 test got checked. 🤔 1 test got better! 😍 - ", ] `; diff --git a/test/__snapshots__/cache-worse.spec.ts.snap b/test/__snapshots__/cache-worse.spec.ts.snap index daac6b189..118167849 100644 --- a/test/__snapshots__/cache-worse.spec.ts.snap +++ b/test/__snapshots__/cache-worse.spec.ts.snap @@ -14,7 +14,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -24,7 +23,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -35,7 +33,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -46,7 +43,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -57,7 +53,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -71,7 +66,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -79,7 +73,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -89,7 +82,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -100,7 +92,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -111,7 +102,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -122,7 +112,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -136,7 +125,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", " / | / _ _ _ @@ -144,7 +132,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -154,7 +141,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -165,7 +151,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -176,7 +161,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 test: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -197,7 +181,6 @@ Array [ ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -218,7 +201,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -244,7 +226,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -252,7 +233,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -262,7 +242,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -273,7 +252,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -284,7 +262,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🔥 test: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -305,7 +282,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -326,7 +302,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -352,7 +327,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", ] `; diff --git a/test/__snapshots__/cache.spec.ts.snap b/test/__snapshots__/cache.spec.ts.snap index 6666e1613..866f5ba5c 100644 --- a/test/__snapshots__/cache.spec.ts.snap +++ b/test/__snapshots__/cache.spec.ts.snap @@ -40,7 +40,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -50,7 +49,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -61,7 +59,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -72,7 +69,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -83,7 +79,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -97,7 +92,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -105,7 +99,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -115,7 +108,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -126,7 +118,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -137,7 +128,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -148,7 +138,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -162,7 +151,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", " / | / _ _ _ @@ -170,7 +158,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -180,7 +167,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -191,7 +177,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -202,7 +187,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 test: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -223,7 +207,6 @@ Array [ ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -244,7 +227,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -270,7 +252,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -278,7 +259,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -288,7 +268,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -299,7 +278,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -310,7 +288,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -321,7 +298,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -336,7 +312,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got better! 😍 \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -344,7 +319,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -354,7 +328,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -365,7 +338,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -376,7 +348,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -387,7 +358,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -402,7 +372,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got checked for the first time! 🎉 \\"test\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/complete.spec.ts.snap b/test/__snapshots__/complete.spec.ts.snap index 62ad3ca2d..0e193b213 100644 --- a/test/__snapshots__/complete.spec.ts.snap +++ b/test/__snapshots__/complete.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -30,7 +28,6 @@ Array [ 🎉 Betterer (0ms): 2 tests done! ✅ should complete: \\"should complete\\" got checked for the first time! 🎉 ✅ complete: \\"complete\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -46,7 +43,6 @@ Array [ 2 tests got checked. 🤔 2 tests got checked for the first time! 🎉 \\"complete\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -54,7 +50,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -64,7 +59,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -76,7 +70,6 @@ Array [ 🎉 Betterer (0ms): 2 tests done! ✅ should complete: \\"should complete\\" met its goal! 🎉 ✅ complete: \\"complete\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -94,7 +87,6 @@ Array [ 1 test got better! 😍 \\"should complete\\" met its goal! 🎉 \\"complete\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -102,7 +94,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -112,7 +103,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -124,7 +114,6 @@ Array [ 🎉 Betterer (0ms): 2 tests done! ✅ should complete: \\"should complete\\" has already met its goal! ✨ ✅ complete: \\"complete\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -141,7 +130,6 @@ Array [ 2 tests got checked for the first time! 🎉 \\"should complete\\" met its goal! 🎉 \\"complete\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/config-missing.spec.ts.snap b/test/__snapshots__/config-missing.spec.ts.snap index 77e7a3133..de33e5986 100644 --- a/test/__snapshots__/config-missing.spec.ts.snap +++ b/test/__snapshots__/config-missing.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/config-named-exports.spec.ts.snap b/test/__snapshots__/config-named-exports.spec.ts.snap index 877ae00af..7da49421a 100644 --- a/test/__snapshots__/config-named-exports.spec.ts.snap +++ b/test/__snapshots__/config-named-exports.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got better! 😍 - ", " / | / _ _ _ @@ -116,7 +106,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got better! 😍 - ", " / | / _ _ _ @@ -130,7 +119,6 @@ Array [ 1 test got checked. 🤔 1 test got better! 😍 - ", ] `; diff --git a/test/__snapshots__/config-ts-esm.spec.ts.snap b/test/__snapshots__/config-ts-esm.spec.ts.snap index a0a64bc7b..94fcb8b3f 100644 --- a/test/__snapshots__/config-ts-esm.spec.ts.snap +++ b/test/__snapshots__/config-ts-esm.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got better! 😍 - ", " / | / _ _ _ @@ -116,7 +106,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got better! 😍 - ", " / | / _ _ _ @@ -130,7 +119,6 @@ Array [ 1 test got checked. 🤔 1 test got better! 😍 - ", ] `; diff --git a/test/__snapshots__/config-ts.spec.ts.snap b/test/__snapshots__/config-ts.spec.ts.snap index b1deabb1f..dd8e445e3 100644 --- a/test/__snapshots__/config-ts.spec.ts.snap +++ b/test/__snapshots__/config-ts.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got better! 😍 - ", " / | / _ _ _ @@ -116,7 +106,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got better! 😍 - ", " / | / _ _ _ @@ -130,7 +119,6 @@ Array [ 1 test got checked. 🤔 1 test got better! 😍 - ", ] `; diff --git a/test/__snapshots__/conflict.spec.ts.snap b/test/__snapshots__/conflict.spec.ts.snap index 4a3531f53..52e6e4de0 100644 --- a/test/__snapshots__/conflict.spec.ts.snap +++ b/test/__snapshots__/conflict.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", ] `; diff --git a/test/__snapshots__/deadline-future.spec.ts.snap b/test/__snapshots__/deadline-future.spec.ts.snap index b265ca186..f24d5f242 100644 --- a/test/__snapshots__/deadline-future.spec.ts.snap +++ b/test/__snapshots__/deadline-future.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", ] `; diff --git a/test/__snapshots__/deadline-test-expired.spec.ts.snap b/test/__snapshots__/deadline-test-expired.spec.ts.snap index 5bcf3ee18..11df4ea9a 100644 --- a/test/__snapshots__/deadline-test-expired.spec.ts.snap +++ b/test/__snapshots__/deadline-test-expired.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -52,7 +48,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! 🎉 ・ \\"test\\" has passed its deadline. 👻 - ", " / | / _ _ _ @@ -64,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! 🎉 ・ \\"test\\" has passed its deadline. 👻 - ", " / | / _ _ _ @@ -80,7 +74,6 @@ Array [ 1 test got checked. 🤔 \\"test\\" has passed its deadline. 👻) 1 test got checked for the first time! 🎉 - ", ] `; diff --git a/test/__snapshots__/dealine-file-test-expired.spec.ts.snap b/test/__snapshots__/dealine-file-test-expired.spec.ts.snap index c92fbfd79..e1a69b2a9 100644 --- a/test/__snapshots__/dealine-file-test-expired.spec.ts.snap +++ b/test/__snapshots__/dealine-file-test-expired.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -52,7 +48,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" has already met its goal! ✨ ・ \\"test\\" has passed its deadline. 👻 - ", " / | / _ _ _ @@ -64,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" has already met its goal! ✨ ・ \\"test\\" has passed its deadline. 👻 - ", " / | / _ _ _ @@ -81,7 +75,6 @@ Array [ \\"test\\" has passed its deadline. 👻) 1 test got checked for the first time! 🎉 \\"test\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/eslint-complex-project.spec.ts.snap b/test/__snapshots__/eslint-complex-project.spec.ts.snap index fbb9d600f..5526dc198 100644 --- a/test/__snapshots__/eslint-complex-project.spec.ts.snap +++ b/test/__snapshots__/eslint-complex-project.spec.ts.snap @@ -20,7 +20,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -30,7 +29,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -41,7 +39,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -52,7 +49,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -63,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -77,7 +72,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -85,7 +79,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -95,7 +88,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -106,7 +98,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -117,7 +108,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -128,7 +118,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -142,7 +131,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", " / | / _ _ _ @@ -150,7 +138,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -160,7 +147,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -171,7 +157,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -182,7 +167,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 test: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -203,7 +187,6 @@ Array [ ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -224,7 +207,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -250,7 +232,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -258,7 +239,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -268,7 +248,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -279,7 +258,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -290,7 +268,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -301,7 +278,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -316,7 +292,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got better! 😍 \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -324,7 +299,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -334,7 +308,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -345,7 +318,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -356,7 +328,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -367,7 +338,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -382,7 +352,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got checked for the first time! 🎉 \\"test\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/eslint-complex-rule.spec.ts.snap b/test/__snapshots__/eslint-complex-rule.spec.ts.snap index 45e815181..b26860ade 100644 --- a/test/__snapshots__/eslint-complex-rule.spec.ts.snap +++ b/test/__snapshots__/eslint-complex-rule.spec.ts.snap @@ -20,7 +20,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -30,7 +29,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -41,7 +39,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -52,7 +49,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -63,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -77,7 +72,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", ] `; diff --git a/test/__snapshots__/eslint-no-config.spec.ts.snap b/test/__snapshots__/eslint-no-config.spec.ts.snap index 222b31a3b..c22fd7182 100644 --- a/test/__snapshots__/eslint-no-config.spec.ts.snap +++ b/test/__snapshots__/eslint-no-config.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/eslint.spec.ts.snap b/test/__snapshots__/eslint.spec.ts.snap index 26cadd783..20b2d6405 100644 --- a/test/__snapshots__/eslint.spec.ts.snap +++ b/test/__snapshots__/eslint.spec.ts.snap @@ -20,7 +20,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -30,7 +29,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -41,7 +39,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -52,7 +49,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -63,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -77,7 +72,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -85,7 +79,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -95,7 +88,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -106,7 +98,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -117,7 +108,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -128,7 +118,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -142,7 +131,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", " / | / _ _ _ @@ -150,7 +138,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -160,7 +147,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -171,7 +157,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -182,7 +167,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 test: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -203,7 +187,6 @@ Array [ ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -224,7 +207,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -250,7 +232,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -258,7 +239,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -268,7 +248,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -279,7 +258,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -290,7 +268,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -301,7 +278,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -316,7 +292,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got better! 😍 \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -324,7 +299,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -334,7 +308,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -345,7 +318,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -356,7 +328,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -367,7 +338,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -382,7 +352,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got checked for the first time! 🎉 \\"test\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/exclude-files.spec.ts.snap b/test/__snapshots__/exclude-files.spec.ts.snap index dbd843311..d8fd81158 100644 --- a/test/__snapshots__/exclude-files.spec.ts.snap +++ b/test/__snapshots__/exclude-files.spec.ts.snap @@ -35,7 +35,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -45,7 +44,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -56,7 +54,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -67,7 +64,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -78,7 +74,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -92,7 +87,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -100,7 +94,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -110,7 +103,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -121,7 +113,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -132,7 +123,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got better! (1 fixed issue, 1 remaining) 😍 - ", " / | / _ _ _ @@ -143,7 +133,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got better! (1 fixed issue, 1 remaining) 😍 - ", " / | / _ _ _ @@ -157,7 +146,6 @@ Array [ 1 test got checked. 🤔 1 test got better! 😍 - ", ] `; diff --git a/test/__snapshots__/exclude-global.spec.ts.snap b/test/__snapshots__/exclude-global.spec.ts.snap index 65558dff9..4c56ae98c 100644 --- a/test/__snapshots__/exclude-global.spec.ts.snap +++ b/test/__snapshots__/exclude-global.spec.ts.snap @@ -53,7 +53,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -63,7 +62,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -74,7 +72,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -85,7 +82,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (3 issues) 🎉 - ", " / | / _ _ _ @@ -96,7 +92,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (3 issues) 🎉 - ", " / | / _ _ _ @@ -110,7 +105,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -118,7 +112,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -128,7 +121,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -139,7 +131,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -150,7 +141,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -161,7 +151,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -175,7 +164,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -183,7 +171,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -193,7 +180,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -204,7 +190,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -215,7 +200,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got better! (1 fixed issue, 1 remaining) 😍 - ", " / | / _ _ _ @@ -226,7 +210,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got better! (1 fixed issue, 1 remaining) 😍 - ", " / | / _ _ _ @@ -240,7 +223,6 @@ Array [ 1 test got checked. 🤔 1 test got better! 😍 - ", ] `; diff --git a/test/__snapshots__/failed-test-error.spec.ts.snap b/test/__snapshots__/failed-test-error.spec.ts.snap index aa258e9dc..d7da6a3c5 100644 --- a/test/__snapshots__/failed-test-error.spec.ts.snap +++ b/test/__snapshots__/failed-test-error.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 test: OH NO! - ", " / | / _ _ _ @@ -53,7 +49,6 @@ Array [ 🔥 test: OH NO! Error: OH NO! - ", " / | / _ _ _ @@ -66,7 +61,6 @@ Error: OH NO! 🔥 test: OH NO! Error: OH NO! - ", " / | / _ _ _ @@ -82,7 +76,6 @@ Error: OH NO! 0 tests got checked. 🤔 1 test failed to run. 🔥 - ", ] `; diff --git a/test/__snapshots__/file-test-constraint.spec.ts.snap b/test/__snapshots__/file-test-constraint.spec.ts.snap index 2fe40b115..2650e2c16 100644 --- a/test/__snapshots__/file-test-constraint.spec.ts.snap +++ b/test/__snapshots__/file-test-constraint.spec.ts.snap @@ -22,7 +22,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -32,7 +31,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -43,7 +41,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -54,7 +51,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -65,7 +61,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -79,7 +74,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -87,7 +81,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -97,7 +90,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -108,7 +100,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -119,7 +110,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 new issue, 3 total) 😐 - ", " / | / _ _ _ @@ -130,7 +120,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 new issue, 3 total) 😐 - ", " / | / _ _ _ @@ -144,7 +133,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", ] `; diff --git a/test/__snapshots__/file-test-goal.spec.ts.snap b/test/__snapshots__/file-test-goal.spec.ts.snap index ea7dc0370..41edc009b 100644 --- a/test/__snapshots__/file-test-goal.spec.ts.snap +++ b/test/__snapshots__/file-test-goal.spec.ts.snap @@ -21,7 +21,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -31,7 +30,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -42,7 +40,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -53,7 +50,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -64,7 +60,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -78,7 +73,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -86,7 +80,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -96,7 +89,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -107,7 +99,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -118,7 +109,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (2 issues) 😐 - ", " / | / _ _ _ @@ -129,7 +119,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (2 issues) 😐 - ", " / | / _ _ _ @@ -143,7 +132,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", " / | / _ _ _ @@ -151,7 +139,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -161,7 +148,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -172,7 +158,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -183,7 +168,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 test: \\"test\\" got worse. (1 new issue, 3 total) 😔 - ", " / | / _ _ _ @@ -205,7 +189,6 @@ Array [ ・ Error: \\"test\\" got worse. (1 new issue, 3 total) 😔 - ", " / | / _ _ _ @@ -227,7 +210,6 @@ Error: \\"test\\" got worse. (1 new issue, 3 total) 😔 ・ Error: \\"test\\" got worse. (1 new issue, 3 total) 😔 - ", " / | / _ _ _ @@ -254,7 +236,6 @@ Error: \\"test\\" got worse. (1 new issue, 3 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -262,7 +243,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -272,7 +252,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -283,7 +262,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -294,7 +272,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -305,7 +282,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -320,7 +296,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got better! 😍 \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -328,7 +303,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -338,7 +312,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -349,7 +322,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -360,7 +332,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -371,7 +342,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -386,7 +356,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got checked for the first time! 🎉 \\"test\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/file-test-sort-absolute.spec.ts.snap b/test/__snapshots__/file-test-sort-absolute.spec.ts.snap index e98d5be79..760a5e2dc 100644 --- a/test/__snapshots__/file-test-sort-absolute.spec.ts.snap +++ b/test/__snapshots__/file-test-sort-absolute.spec.ts.snap @@ -34,7 +34,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -44,7 +43,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -55,7 +53,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -66,7 +63,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (8 issues) 🎉 - ", " / | / _ _ _ @@ -77,7 +73,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (8 issues) 🎉 - ", " / | / _ _ _ @@ -91,7 +86,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -99,7 +93,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -109,7 +102,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -120,7 +112,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -131,7 +122,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got force updated. (1 new issue, 9 total) 🆙 - ", " / | / _ _ _ @@ -151,7 +141,6 @@ Array [ ・ > 3 | debugger; ・ | ^^^^^^^^^ Unexpected 'debugger' statement. ・ - ", " / | / _ _ _ @@ -171,7 +160,6 @@ Array [ ・ > 3 | debugger; ・ | ^^^^^^^^^ Unexpected 'debugger' statement. ・ - ", " / | / _ _ _ @@ -194,7 +182,6 @@ Array [ 1 test got checked. 🤔 1 test got force updated. 🆙 - ", ] `; diff --git a/test/__snapshots__/file-test-sort-all.spec.ts.snap b/test/__snapshots__/file-test-sort-all.spec.ts.snap index dafdafdc4..295801177 100644 --- a/test/__snapshots__/file-test-sort-all.spec.ts.snap +++ b/test/__snapshots__/file-test-sort-all.spec.ts.snap @@ -33,7 +33,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -43,7 +42,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -54,7 +52,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -65,7 +62,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (8 issues) 🎉 - ", " / | / _ _ _ @@ -76,7 +72,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (8 issues) 🎉 - ", " / | / _ _ _ @@ -90,7 +85,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", ] `; diff --git a/test/__snapshots__/file-test-sort-subset.spec.ts.snap b/test/__snapshots__/file-test-sort-subset.spec.ts.snap index ee10b9c7a..e348cd0a8 100644 --- a/test/__snapshots__/file-test-sort-subset.spec.ts.snap +++ b/test/__snapshots__/file-test-sort-subset.spec.ts.snap @@ -34,7 +34,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -44,7 +43,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -55,7 +53,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -66,7 +63,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (8 issues) 🎉 - ", " / | / _ _ _ @@ -77,7 +73,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (8 issues) 🎉 - ", " / | / _ _ _ @@ -91,7 +86,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -99,7 +93,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -109,7 +102,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -120,7 +112,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -131,7 +122,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got force updated. (1 new issue, 9 total) 🆙 - ", " / | / _ _ _ @@ -151,7 +141,6 @@ Array [ ・ > 3 | debugger; ・ | ^^^^^^^^^ Unexpected 'debugger' statement. ・ - ", " / | / _ _ _ @@ -171,7 +160,6 @@ Array [ ・ > 3 | debugger; ・ | ^^^^^^^^^ Unexpected 'debugger' statement. ・ - ", " / | / _ _ _ @@ -194,7 +182,6 @@ Array [ 1 test got checked. 🤔 1 test got force updated. 🆙 - ", ] `; diff --git a/test/__snapshots__/filter-only.spec.ts.snap b/test/__snapshots__/filter-only.spec.ts.snap index f725141d2..1fa4ca8d6 100644 --- a/test/__snapshots__/filter-only.spec.ts.snap +++ b/test/__snapshots__/filter-only.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -32,7 +30,6 @@ Array [ ✅ test 2: \\"test 2\\" got checked for the first time! 🎉 ✅ test 3: \\"test 3\\" got checked for the first time! 🎉 ✅ test 4: \\"test 4\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -49,7 +46,6 @@ Array [ 4 tests got checked. 🤔 4 tests got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -57,7 +53,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -67,7 +62,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -81,7 +75,6 @@ Array [ ✅ test 2: \\"test 2\\" got skipped. 🚫 ✅ test 3: \\"test 3\\" got skipped. 🚫 ✅ test 4: \\"test 4\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -99,7 +92,6 @@ Array [ 2 tests got checked. 🤔 2 tests stayed the same. 😐 2 tests got skipped. 🚫 - ", ] `; diff --git a/test/__snapshots__/filter-skip.spec.ts.snap b/test/__snapshots__/filter-skip.spec.ts.snap index 166c16f29..708cf1828 100644 --- a/test/__snapshots__/filter-skip.spec.ts.snap +++ b/test/__snapshots__/filter-skip.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -30,7 +28,6 @@ Array [ 🎉 Betterer (0ms): 2 tests done! ✅ test 1: \\"test 1\\" got checked for the first time! 🎉 ✅ test 2: \\"test 2\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -45,7 +42,6 @@ Array [ 2 tests got checked. 🤔 2 tests got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -53,7 +49,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -63,7 +58,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -75,7 +69,6 @@ Array [ 🎉 Betterer (0ms): 2 tests done! ✅ test 1: \\"test 1\\" got skipped. 🚫 ✅ test 2: \\"test 2\\" got skipped. 🚫 - ", " / | / _ _ _ @@ -90,7 +83,6 @@ Array [ 0 tests got checked. 🤔 2 tests got skipped. 🚫 - ", ] `; diff --git a/test/__snapshots__/regexp-no-regexp.spec.ts.snap b/test/__snapshots__/regexp-no-regexp.spec.ts.snap index 3acdf53b6..4a942b148 100644 --- a/test/__snapshots__/regexp-no-regexp.spec.ts.snap +++ b/test/__snapshots__/regexp-no-regexp.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/regexp.spec.ts.snap b/test/__snapshots__/regexp.spec.ts.snap index 141c8cb3a..c53efae7b 100644 --- a/test/__snapshots__/regexp.spec.ts.snap +++ b/test/__snapshots__/regexp.spec.ts.snap @@ -20,7 +20,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -30,7 +29,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -41,7 +39,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 regexp: running \\"regexp\\"! - ", " / | / _ _ _ @@ -52,7 +49,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ regexp: \\"regexp\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -63,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ regexp: \\"regexp\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -77,7 +72,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -85,7 +79,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -95,7 +88,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -106,7 +98,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 regexp: running \\"regexp\\"! - ", " / | / _ _ _ @@ -117,7 +108,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ regexp: \\"regexp\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -128,7 +118,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ regexp: \\"regexp\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -142,7 +131,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", " / | / _ _ _ @@ -150,7 +138,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -160,7 +147,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -171,7 +157,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 regexp: running \\"regexp\\"! - ", " / | / _ _ _ @@ -182,7 +167,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 regexp: \\"regexp\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -203,7 +187,6 @@ Array [ ・ Error: \\"regexp\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -224,7 +207,6 @@ Error: \\"regexp\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"regexp\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -250,7 +232,6 @@ Error: \\"regexp\\" got worse. (1 new issue, 2 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -258,7 +239,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -268,7 +248,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -279,7 +258,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 regexp: running \\"regexp\\"! - ", " / | / _ _ _ @@ -290,7 +268,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ regexp: \\"regexp\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -301,7 +278,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ regexp: \\"regexp\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -316,7 +292,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got better! 😍 \\"regexp\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -324,7 +299,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -334,7 +308,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -345,7 +318,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 regexp: running \\"regexp\\"! - ", " / | / _ _ _ @@ -356,7 +328,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ regexp: \\"regexp\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -367,7 +338,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ regexp: \\"regexp\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -382,7 +352,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got checked for the first time! 🎉 \\"regexp\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/results-escape.spec.ts.snap b/test/__snapshots__/results-escape.spec.ts.snap index 6abd54a8c..e8a25d0d2 100644 --- a/test/__snapshots__/results-escape.spec.ts.snap +++ b/test/__snapshots__/results-escape.spec.ts.snap @@ -20,7 +20,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -30,7 +29,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -41,7 +39,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -52,7 +49,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -63,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -77,7 +72,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -85,7 +79,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -95,7 +88,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -106,7 +98,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -117,7 +108,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -128,7 +118,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -142,7 +131,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", ] `; diff --git a/test/__snapshots__/results-read-error.spec.ts.snap b/test/__snapshots__/results-read-error.spec.ts.snap index 751ce852e..6c5289b11 100644 --- a/test/__snapshots__/results-read-error.spec.ts.snap +++ b/test/__snapshots__/results-read-error.spec.ts.snap @@ -9,32 +9,6 @@ Array [ .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| -", - " - / | / _ _ _ - '-.ooo.-' | |__ ___| |_| |_ ___ _ __ ___ _ __ ----ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| - .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | - / | / |_.__//___|/__|/__/___|_| /___|_| - - -Error: could not read results from \\"/fixtures/results-read-error/.betterer.results\\". 😔 -", - " - / | / _ _ _ - '-.ooo.-' | |__ ___| |_| |_ ___ _ __ ___ _ __ ----ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| - .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | - / | / |_.__//___|/__|/__/___|_| /___|_| - -", - " - / | / _ _ _ - '-.ooo.-' | |__ ___| |_| |_ ___ _ __ ___ _ __ ----ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| - .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | - / | / |_.__//___|/__|/__/___|_| /___|_| - Error: could not read results from \\"/fixtures/results-read-error/.betterer.results\\". 😔 ", diff --git a/test/__snapshots__/same-move-file.spec.ts.snap b/test/__snapshots__/same-move-file.spec.ts.snap index 5f6f3ab65..48e78955b 100644 --- a/test/__snapshots__/same-move-file.spec.ts.snap +++ b/test/__snapshots__/same-move-file.spec.ts.snap @@ -32,7 +32,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -42,7 +41,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -53,7 +51,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -64,7 +61,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -75,7 +71,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -89,7 +84,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -97,7 +91,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -107,7 +100,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -118,7 +110,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -129,7 +120,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -140,7 +130,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -154,7 +143,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", ] `; diff --git a/test/__snapshots__/same-move-issue.spec.ts.snap b/test/__snapshots__/same-move-issue.spec.ts.snap index 1c1352940..121e1a96f 100644 --- a/test/__snapshots__/same-move-issue.spec.ts.snap +++ b/test/__snapshots__/same-move-issue.spec.ts.snap @@ -32,7 +32,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -42,7 +41,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -53,7 +51,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -64,7 +61,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -75,7 +71,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -89,7 +84,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -97,7 +91,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -107,7 +100,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -118,7 +110,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -129,7 +120,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -140,7 +130,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -154,7 +143,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", ] `; diff --git a/test/__snapshots__/same-move-issues.spec.ts.snap b/test/__snapshots__/same-move-issues.spec.ts.snap index 8646fc37b..b6f9649f0 100644 --- a/test/__snapshots__/same-move-issues.spec.ts.snap +++ b/test/__snapshots__/same-move-issues.spec.ts.snap @@ -34,7 +34,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -44,7 +43,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -55,7 +53,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -66,7 +63,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -77,7 +73,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -91,7 +86,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -99,7 +93,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -109,7 +102,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -120,7 +112,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -131,7 +122,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (2 issues) 😐 - ", " / | / _ _ _ @@ -142,7 +132,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (2 issues) 😐 - ", " / | / _ _ _ @@ -156,7 +145,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", ] `; diff --git a/test/__snapshots__/silent-unmute.spec.ts.snap b/test/__snapshots__/silent-unmute.spec.ts.snap index 856a5e5e8..068eef250 100644 --- a/test/__snapshots__/silent-unmute.spec.ts.snap +++ b/test/__snapshots__/silent-unmute.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got better! 😍 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got better! 😍 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got better! 😍 - ", ] `; diff --git a/test/__snapshots__/styelint.spec.ts.snap b/test/__snapshots__/styelint.spec.ts.snap index c4ce98a3a..01d73aade 100644 --- a/test/__snapshots__/styelint.spec.ts.snap +++ b/test/__snapshots__/styelint.spec.ts.snap @@ -21,7 +21,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -31,7 +30,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -42,7 +40,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 stylelint: running \\"stylelint\\"! - ", " / | / _ _ _ @@ -53,7 +50,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ stylelint: \\"stylelint\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -64,7 +60,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ stylelint: \\"stylelint\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -78,7 +73,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -86,7 +80,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -96,7 +89,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -107,7 +99,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 stylelint: running \\"stylelint\\"! - ", " / | / _ _ _ @@ -118,7 +109,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 stylelint: \\"stylelint\\" got worse. (2 new issues, 4 total) 😔 - ", " / | / _ _ _ @@ -144,7 +134,6 @@ Array [ ・ Error: \\"stylelint\\" got worse. (2 new issues, 4 total) 😔 - ", " / | / _ _ _ @@ -170,7 +159,6 @@ Error: \\"stylelint\\" got worse. (2 new issues, 4 total) 😔 ・ Error: \\"stylelint\\" got worse. (2 new issues, 4 total) 😔 - ", " / | / _ _ _ @@ -201,7 +189,6 @@ Error: \\"stylelint\\" got worse. (2 new issues, 4 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -209,7 +196,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -219,7 +205,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -230,7 +215,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 stylelint: running \\"stylelint\\"! - ", " / | / _ _ _ @@ -241,7 +225,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ stylelint: \\"stylelint\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -252,7 +235,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ stylelint: \\"stylelint\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -267,7 +249,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got better! 😍 \\"stylelint\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -275,7 +256,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -285,7 +265,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -296,7 +275,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 stylelint: running \\"stylelint\\"! - ", " / | / _ _ _ @@ -307,7 +285,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ stylelint: \\"stylelint\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -318,7 +295,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ stylelint: \\"stylelint\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -333,7 +309,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got checked for the first time! 🎉 \\"stylelint\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/stylelint-no-config.spec.ts.snap b/test/__snapshots__/stylelint-no-config.spec.ts.snap index fae564632..a3177f82b 100644 --- a/test/__snapshots__/stylelint-no-config.spec.ts.snap +++ b/test/__snapshots__/stylelint-no-config.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/test-no-constraint.spec.ts.snap b/test/__snapshots__/test-no-constraint.spec.ts.snap index d82034438..332215fa1 100644 --- a/test/__snapshots__/test-no-constraint.spec.ts.snap +++ b/test/__snapshots__/test-no-constraint.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/test-no-test.spec.ts.snap b/test/__snapshots__/test-no-test.spec.ts.snap index c7853e5a1..c98c8a140 100644 --- a/test/__snapshots__/test-no-test.spec.ts.snap +++ b/test/__snapshots__/test-no-test.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/test-not-a-betterer-test.spec.ts.snap b/test/__snapshots__/test-not-a-betterer-test.spec.ts.snap index 43028ed1d..4737bb2b6 100644 --- a/test/__snapshots__/test-not-a-betterer-test.spec.ts.snap +++ b/test/__snapshots__/test-not-a-betterer-test.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/test-not-a-function.spec.ts.snap b/test/__snapshots__/test-not-a-function.spec.ts.snap index 0d06d1016..da3f9bd53 100644 --- a/test/__snapshots__/test-not-a-function.spec.ts.snap +++ b/test/__snapshots__/test-not-a-function.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/tsquery-no-query.spec.ts.snap b/test/__snapshots__/tsquery-no-query.spec.ts.snap index dbd298977..060dc47b3 100644 --- a/test/__snapshots__/tsquery-no-query.spec.ts.snap +++ b/test/__snapshots__/tsquery-no-query.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/tsquery.spec.ts.snap b/test/__snapshots__/tsquery.spec.ts.snap index d7e925f1b..5293595fa 100644 --- a/test/__snapshots__/tsquery.spec.ts.snap +++ b/test/__snapshots__/tsquery.spec.ts.snap @@ -20,7 +20,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -30,7 +29,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -41,7 +39,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 tsquery: running \\"tsquery\\"! - ", " / | / _ _ _ @@ -52,7 +49,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ tsquery: \\"tsquery\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -63,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ tsquery: \\"tsquery\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -77,7 +72,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -85,7 +79,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -95,7 +88,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -106,7 +98,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 tsquery: running \\"tsquery\\"! - ", " / | / _ _ _ @@ -117,7 +108,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ tsquery: \\"tsquery\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -128,7 +118,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ tsquery: \\"tsquery\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -142,7 +131,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", " / | / _ _ _ @@ -150,7 +138,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -160,7 +147,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -171,7 +157,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 tsquery: running \\"tsquery\\"! - ", " / | / _ _ _ @@ -182,7 +167,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 tsquery: \\"tsquery\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -203,7 +187,6 @@ Array [ ・ Error: \\"tsquery\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -224,7 +207,6 @@ Error: \\"tsquery\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"tsquery\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -250,7 +232,6 @@ Error: \\"tsquery\\" got worse. (1 new issue, 2 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -258,7 +239,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -268,7 +248,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -279,7 +258,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 tsquery: running \\"tsquery\\"! - ", " / | / _ _ _ @@ -290,7 +268,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ tsquery: \\"tsquery\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -301,7 +278,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ tsquery: \\"tsquery\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -316,7 +292,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got better! 😍 \\"tsquery\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -324,7 +299,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -334,7 +308,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -345,7 +318,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 tsquery: running \\"tsquery\\"! - ", " / | / _ _ _ @@ -356,7 +328,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ tsquery: \\"tsquery\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -367,7 +338,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ tsquery: \\"tsquery\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -382,7 +352,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got checked for the first time! 🎉 \\"tsquery\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/typescript-dependency.spec.ts.snap b/test/__snapshots__/typescript-dependency.spec.ts.snap index 163036774..17ff05329 100644 --- a/test/__snapshots__/typescript-dependency.spec.ts.snap +++ b/test/__snapshots__/typescript-dependency.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", ] `; diff --git a/test/__snapshots__/typescript-incremental.spec.ts.snap b/test/__snapshots__/typescript-incremental.spec.ts.snap index 46228bac7..5b191d35d 100644 --- a/test/__snapshots__/typescript-incremental.spec.ts.snap +++ b/test/__snapshots__/typescript-incremental.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -116,7 +106,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -130,7 +119,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", ] `; diff --git a/test/__snapshots__/typescript-no-config-file.spec.ts.snap b/test/__snapshots__/typescript-no-config-file.spec.ts.snap index 6eff58985..8deb0da7b 100644 --- a/test/__snapshots__/typescript-no-config-file.spec.ts.snap +++ b/test/__snapshots__/typescript-no-config-file.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ diff --git a/test/__snapshots__/typescript-strict.spec.ts.snap b/test/__snapshots__/typescript-strict.spec.ts.snap index fe4f4cc51..a48f73a7e 100644 --- a/test/__snapshots__/typescript-strict.spec.ts.snap +++ b/test/__snapshots__/typescript-strict.spec.ts.snap @@ -25,7 +25,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -35,7 +34,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -46,7 +44,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -57,7 +54,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" got checked for the first time! (6 issues) 🎉 - ", " / | / _ _ _ @@ -68,7 +64,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" got checked for the first time! (6 issues) 🎉 - ", " / | / _ _ _ @@ -82,7 +77,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -90,7 +84,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -100,7 +93,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -111,7 +103,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -122,7 +113,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" stayed the same. (6 issues) 😐 - ", " / | / _ _ _ @@ -133,7 +123,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" stayed the same. (6 issues) 😐 - ", " / | / _ _ _ @@ -147,7 +136,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", " / | / _ _ _ @@ -155,7 +143,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -165,7 +152,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -176,7 +162,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -187,7 +172,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 typescript: \\"typescript\\" got worse. (1 new issue, 7 total) 😔 - ", " / | / _ _ _ @@ -209,7 +193,6 @@ Array [ ・ Error: \\"typescript\\" got worse. (1 new issue, 7 total) 😔 - ", " / | / _ _ _ @@ -231,7 +214,6 @@ Error: \\"typescript\\" got worse. (1 new issue, 7 total) 😔 ・ Error: \\"typescript\\" got worse. (1 new issue, 7 total) 😔 - ", " / | / _ _ _ @@ -258,7 +240,6 @@ Error: \\"typescript\\" got worse. (1 new issue, 7 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -266,7 +247,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -276,7 +256,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -287,7 +266,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -298,7 +276,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" got better! (1 fixed issue, 5 remaining) 😍 - ", " / | / _ _ _ @@ -309,7 +286,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" got better! (1 fixed issue, 5 remaining) 😍 - ", " / | / _ _ _ @@ -323,7 +299,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got better! 😍 - ", ] `; diff --git a/test/__snapshots__/typescript.spec.ts.snap b/test/__snapshots__/typescript.spec.ts.snap index 7e1c9a9eb..9a14bb32f 100644 --- a/test/__snapshots__/typescript.spec.ts.snap +++ b/test/__snapshots__/typescript.spec.ts.snap @@ -20,7 +20,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -30,7 +29,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -41,7 +39,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -52,7 +49,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -63,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -77,7 +72,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -85,7 +79,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -95,7 +88,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -106,7 +98,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -117,7 +108,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -128,7 +118,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -142,7 +131,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", " / | / _ _ _ @@ -150,7 +138,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -160,7 +147,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -171,7 +157,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -182,7 +167,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 typescript: \\"typescript\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -204,7 +188,6 @@ Array [ ・ Error: \\"typescript\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -226,7 +209,6 @@ Error: \\"typescript\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"typescript\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -253,7 +235,6 @@ Error: \\"typescript\\" got worse. (1 new issue, 2 total) 😔 1 test got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", " / | / _ _ _ @@ -261,7 +242,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -271,7 +251,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -282,7 +261,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -293,7 +271,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -304,7 +281,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -319,7 +295,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got better! 😍 \\"typescript\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -327,7 +302,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -337,7 +311,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -348,7 +321,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... 🤔 typescript: running \\"typescript\\"! - ", " / | / _ _ _ @@ -359,7 +331,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🌟 Betterer (0ms): 1 test running... ✅ typescript: \\"typescript\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -370,7 +341,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 🎉 Betterer (0ms): 1 test done! ✅ typescript: \\"typescript\\" has already met its goal! ✨ - ", " / | / _ _ _ @@ -385,7 +355,6 @@ You should try to fix the new issues! As a last resort, you can run \`betterer - 1 test got checked. 🤔 1 test got checked for the first time! 🎉 \\"typescript\\" met its goal! 🎉 - ", ] `; diff --git a/test/__snapshots__/worse-result.spec.ts.snap b/test/__snapshots__/worse-result.spec.ts.snap index d71eb9760..6d6022abd 100644 --- a/test/__snapshots__/worse-result.spec.ts.snap +++ b/test/__snapshots__/worse-result.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -30,7 +28,6 @@ Array [ 🎉 Betterer (0ms): 2 tests done! ✅ should shrink: \\"should shrink\\" got checked for the first time! 🎉 ✅ should grow: \\"should grow\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -45,7 +42,6 @@ Array [ 2 tests got checked. 🤔 2 tests got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -53,7 +49,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -63,7 +58,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -89,7 +83,6 @@ Error: \\"should shrink\\" got worse. 😔 ・ + -2 Error: \\"should grow\\" got worse. 😔 - ", " / | / _ _ _ @@ -120,7 +113,6 @@ Error: \\"should grow\\" got worse. 😔 2 tests got worse. 😔 You should try to fix the new issues! As a last resort, you can run \`betterer --update\` to force an update of the results file. 🆙 - ", ] `; diff --git a/test/__snapshots__/worse-strict.spec.ts.snap b/test/__snapshots__/worse-strict.spec.ts.snap index a9616c961..7a1c74ca6 100644 --- a/test/__snapshots__/worse-strict.spec.ts.snap +++ b/test/__snapshots__/worse-strict.spec.ts.snap @@ -20,7 +20,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -30,7 +29,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -41,7 +39,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -52,7 +49,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -63,7 +59,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -77,7 +72,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -85,7 +79,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -95,7 +88,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -106,7 +98,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -117,7 +108,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 test: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -138,7 +128,6 @@ Array [ ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -159,7 +148,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -184,7 +172,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 1 test got checked. 🤔 1 test got worse. 😔 - ", ] `; diff --git a/test/__snapshots__/worse-update.spec.ts.snap b/test/__snapshots__/worse-update.spec.ts.snap index f5846b6b0..fc2e40b6f 100644 --- a/test/__snapshots__/worse-update.spec.ts.snap +++ b/test/__snapshots__/worse-update.spec.ts.snap @@ -21,7 +21,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -31,7 +30,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -42,7 +40,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -53,7 +50,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -64,7 +60,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -78,7 +73,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -86,7 +80,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -96,7 +89,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -107,7 +99,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -118,7 +109,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got force updated. (1 new issue, 2 total) 🆙 - ", " / | / _ _ _ @@ -137,7 +127,6 @@ Array [ ・ > 2 | console.log('foo'); ・ | ^^^^^^^^^^^ TSQuery match ・ - ", " / | / _ _ _ @@ -156,7 +145,6 @@ Array [ ・ > 2 | console.log('foo'); ・ | ^^^^^^^^^^^ TSQuery match ・ - ", " / | / _ _ _ @@ -178,7 +166,6 @@ Array [ 1 test got checked. 🤔 1 test got force updated. 🆙 - ", " / | / _ _ _ @@ -186,7 +173,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -196,7 +182,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -207,7 +192,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -218,7 +202,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (2 issues) 😐 - ", " / | / _ _ _ @@ -229,7 +212,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (2 issues) 😐 - ", " / | / _ _ _ @@ -243,7 +225,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 - ", ] `; diff --git a/test/cli/__snapshots__/ci-diff.spec.ts.snap b/test/cli/__snapshots__/ci-diff.spec.ts.snap index e779528f4..51f636fa8 100644 --- a/test/cli/__snapshots__/ci-diff.spec.ts.snap +++ b/test/cli/__snapshots__/ci-diff.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -116,7 +106,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -131,22 +120,11 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 -Unexpected diff found: -- Expected -+ Result - - // BETTERER RESULTS V2. - exports[\`test\`] = { - value: \`{ -- \\"src/index.ts:1499252024\\": [ -- [2, 12, 1, \\"The left-hand side of an arithmetic operation must be of type /'any/', /'number/', /'bigint/' or an enum type.\\", \\"177604\\"] -+ \\"src/index.ts:2615232350\\": [ -+ [3, 12, 1, \\"The left-hand side of an arithmetic operation must be of type /'any/', /'number/', /'bigint/' or an enum type.\\", \\"177604\\"] - ] - }\` - }; +Unexpected changes detected in these tests while running in CI mode: + \\"test\\" +You should make sure the results file is up-to-date before committing! You might want to run \`betterer precommit\` in a commit hook. 💍 ", ] `; diff --git a/test/cli/__snapshots__/ci-env-variable.spec.ts.snap b/test/cli/__snapshots__/ci-env-variable.spec.ts.snap index 0bd7983a3..0ee16c2b3 100644 --- a/test/cli/__snapshots__/ci-env-variable.spec.ts.snap +++ b/test/cli/__snapshots__/ci-env-variable.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -116,7 +106,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" stayed the same. (1 issue) 😐 - ", " / | / _ _ _ @@ -131,22 +120,11 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 -Unexpected diff found: -- Expected -+ Result - - // BETTERER RESULTS V2. - exports[\`test\`] = { - value: \`{ -- \\"src/index.ts:1499252024\\": [ -- [2, 12, 1, \\"The left-hand side of an arithmetic operation must be of type /'any/', /'number/', /'bigint/' or an enum type.\\", \\"177604\\"] -+ \\"src/index.ts:2615232350\\": [ -+ [3, 12, 1, \\"The left-hand side of an arithmetic operation must be of type /'any/', /'number/', /'bigint/' or an enum type.\\", \\"177604\\"] - ] - }\` - }; +Unexpected changes detected in these tests while running in CI mode: + \\"test\\" +You should make sure the results file is up-to-date before committing! You might want to run \`betterer precommit\` in a commit hook. 💍 ", ] `; diff --git a/test/cli/__snapshots__/ci-worse.spec.ts.snap b/test/cli/__snapshots__/ci-worse.spec.ts.snap index 27f3becef..9a43dfdf0 100644 --- a/test/cli/__snapshots__/ci-worse.spec.ts.snap +++ b/test/cli/__snapshots__/ci-worse.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 test: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -127,7 +117,6 @@ Array [ ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -149,7 +138,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -176,6 +164,11 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 1 test got worse. 😔 +Unexpected changes detected in these tests while running in CI mode: + + \\"test\\" + +You should make sure the results file is up-to-date before committing! You might want to run \`betterer precommit\` in a commit hook. 💍 ", ] `; diff --git a/test/cli/__snapshots__/filter.spec.ts.snap b/test/cli/__snapshots__/filter.spec.ts.snap index 8620c243a..6366ba46d 100644 --- a/test/cli/__snapshots__/filter.spec.ts.snap +++ b/test/cli/__snapshots__/filter.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -31,7 +29,6 @@ Array [ ✅ test 1: \\"test 1\\" got checked for the first time! 🎉 ✅ test 2: \\"test 2\\" got checked for the first time! 🎉 ✅ test 3: \\"test 3\\" got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -47,7 +44,6 @@ Array [ 3 tests got checked. 🤔 3 tests got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -55,7 +51,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -78,7 +72,6 @@ Array [ ✅ test 1: \\"test 1\\" stayed the same. 😐 ✅ test 2: \\"test 2\\" got skipped. 🚫 ✅ test 3: \\"test 3\\" got skipped. 🚫 - ", " / | / _ _ _ @@ -95,7 +88,6 @@ Array [ 1 test got checked. 🤔 1 test stayed the same. 😐 2 tests got skipped. 🚫 - ", " / | / _ _ _ @@ -103,7 +95,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -113,7 +104,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -126,7 +116,6 @@ Array [ ✅ test 1: \\"test 1\\" stayed the same. 😐 ✅ test 2: \\"test 2\\" got skipped. 🚫 ✅ test 3: \\"test 3\\" stayed the same. 😐 - ", " / | / _ _ _ @@ -143,7 +132,6 @@ Array [ 2 tests got checked. 🤔 2 tests stayed the same. 😐 1 test got skipped. 🚫 - ", ] `; diff --git a/test/cli/__snapshots__/precommit-add.spec.ts.snap b/test/cli/__snapshots__/precommit-add.spec.ts.snap index 4c091c9ea..3b63dcaa8 100644 --- a/test/cli/__snapshots__/precommit-add.spec.ts.snap +++ b/test/cli/__snapshots__/precommit-add.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -116,7 +106,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" met its goal! 🎉 - ", " / | / _ _ _ @@ -131,7 +120,6 @@ Array [ 1 test got checked. 🤔 1 test got better! 😍 \\"test\\" met its goal! 🎉 - ", ] `; diff --git a/test/cli/__snapshots__/precommit-worse.spec.ts.snap b/test/cli/__snapshots__/precommit-worse.spec.ts.snap index 70c1fa74b..b678aecf3 100644 --- a/test/cli/__snapshots__/precommit-worse.spec.ts.snap +++ b/test/cli/__snapshots__/precommit-worse.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -73,7 +67,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -83,7 +76,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -94,7 +86,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -105,7 +96,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🔥 test: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -127,7 +117,6 @@ Array [ ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -149,7 +138,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 ・ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 - ", " / | / _ _ _ @@ -175,7 +163,6 @@ Error: \\"test\\" got worse. (1 new issue, 2 total) 😔 1 test got checked. 🤔 1 test got worse. 😔 - ", ] `; diff --git a/test/cli/ci-diff.spec.ts b/test/cli/ci-diff.spec.ts index e2b2fc5fb..c9744a0ef 100644 --- a/test/cli/ci-diff.spec.ts +++ b/test/cli/ci-diff.spec.ts @@ -1,4 +1,4 @@ -import { ciΔ } from '@betterer/cli'; +import { startΔ, ciΔ } from '@betterer/cli'; import { createFixture } from '../fixture'; @@ -39,14 +39,13 @@ export default { const fixturePath = paths.cwd; const indexPath = resolve('./src/index.ts'); - await ciΔ(fixturePath, ARGV); + await startΔ(fixturePath, ARGV, false); await writeFile(indexPath, `const a = 'a';\nconst one = 1;\nconsole.log(one + one);\nconsole.log(a * one);`); const suiteSummary = await ciΔ(fixturePath, ARGV); - expect(suiteSummary.expected).not.toBeNull(); - expect(suiteSummary.unexpectedDiff).toEqual(true); + expect(suiteSummary.changed).toHaveLength(1); expect(suiteSummary.worse).toHaveLength(0); expect(logs).toMatchSnapshot(); diff --git a/test/cli/ci-env-variable.spec.ts b/test/cli/ci-env-variable.spec.ts index 3380d74d4..72af45ac6 100644 --- a/test/cli/ci-env-variable.spec.ts +++ b/test/cli/ci-env-variable.spec.ts @@ -39,17 +39,15 @@ export default { const fixturePath = paths.cwd; const indexPath = resolve('./src/index.ts'); - process.env.CI = '1'; - - await startΔ(fixturePath, ARGV); + await startΔ(fixturePath, ARGV, false); await writeFile(indexPath, `const a = 'a';\nconst one = 1;\nconsole.log(one + one);\nconsole.log(a * one);`); + process.env.CI = 'true'; + const suiteSummary = await startΔ(fixturePath, ARGV); - expect(suiteSummary.expected).not.toBeNull(); - expect(suiteSummary.unexpectedDiff).toEqual(true); - expect(suiteSummary.worse).toHaveLength(0); + expect(suiteSummary.changed).toHaveLength(1); expect(logs).toMatchSnapshot(); diff --git a/test/cli/ci-worse.spec.ts b/test/cli/ci-worse.spec.ts index acdb30836..ccd3d3923 100644 --- a/test/cli/ci-worse.spec.ts +++ b/test/cli/ci-worse.spec.ts @@ -1,4 +1,4 @@ -import { ciΔ } from '@betterer/cli'; +import { startΔ, ciΔ } from '@betterer/cli'; import { createFixture } from '../fixture'; @@ -39,15 +39,14 @@ export default { const fixturePath = paths.cwd; const indexPath = resolve('./src/index.ts'); - await ciΔ(fixturePath, ARGV); + await startΔ(fixturePath, ARGV, false); await writeFile(indexPath, `const a = 'a';\nconst one = 1;\nconsole.log(one * a);\nconsole.log(a * one);`); const suiteSummary = await ciΔ(fixturePath, ARGV); - expect(suiteSummary.expected).not.toBeNull(); - expect(suiteSummary.unexpectedDiff).toEqual(false); - expect(suiteSummary.worse.length).toBeGreaterThan(0); + expect(suiteSummary.changed).toHaveLength(1); + expect(suiteSummary.worse).toHaveLength(1); expect(logs).toMatchSnapshot(); diff --git a/test/cli/filter.spec.ts b/test/cli/filter.spec.ts index 1d683aacb..7e161450d 100644 --- a/test/cli/filter.spec.ts +++ b/test/cli/filter.spec.ts @@ -36,15 +36,15 @@ module.exports = { const fixturePath = paths.cwd; - const firstRun = await startΔ(fixturePath, ARGV); + const firstRun = await startΔ(fixturePath, ARGV, false); expect(runNames(firstRun.ran)).toEqual(['test 1', 'test 2', 'test 3']); - const secondRun = await startΔ(fixturePath, [...ARGV, '--filter', '1']); + const secondRun = await startΔ(fixturePath, [...ARGV, '--filter', '1'], false); expect(runNames(secondRun.ran)).toEqual(['test 1']); - const thirdRun = await startΔ(fixturePath, [...ARGV, '--filter', '1', '--filter', '3']); + const thirdRun = await startΔ(fixturePath, [...ARGV, '--filter', '1', '--filter', '3'], false); expect(runNames(thirdRun.ran)).toEqual(['test 1', 'test 3']); diff --git a/test/cli/precommit-add.spec.ts b/test/cli/precommit-add.spec.ts index 6705e5fb6..d9c711654 100644 --- a/test/cli/precommit-add.spec.ts +++ b/test/cli/precommit-add.spec.ts @@ -43,7 +43,7 @@ export default { await writeFile(indexPath, `const a = 'a';\nconst one = 1;\nconsole.log(one + one);\nconsole.log(a * one);`); - await startΔ(fixturePath, ARGV); + await startΔ(fixturePath, ARGV, false); await writeFile(indexPath, `const a = 'a';\nconst one = 1;\nconsole.log(one + one);`); diff --git a/test/cli/precommit-worse.spec.ts b/test/cli/precommit-worse.spec.ts index f074d34dc..2afaf6966 100644 --- a/test/cli/precommit-worse.spec.ts +++ b/test/cli/precommit-worse.spec.ts @@ -40,7 +40,7 @@ export default { const fixturePath = paths.cwd; const indexPath = resolve('./src/index.ts'); - await startΔ(fixturePath, ARGV); + await startΔ(fixturePath, ARGV, false); await writeFile(indexPath, `const a = 'a';\nconst one = 1;\nconsole.log(one * a);\nconsole.log(a * one);`); diff --git a/test/watch/__snapshots__/watch-debounced.spec.ts.snap b/test/watch/__snapshots__/watch-debounced.spec.ts.snap index 172632efd..8bad5dedc 100644 --- a/test/watch/__snapshots__/watch-debounced.spec.ts.snap +++ b/test/watch/__snapshots__/watch-debounced.spec.ts.snap @@ -15,7 +15,6 @@ Ignores (press \\"i\\" to edit): No current ignore patterns Starting Betterer in watch mode! 🎉 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -35,7 +34,6 @@ Checking 2 files... 🤔 🌟 Betterer (0ms): (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -56,7 +54,6 @@ Checking 2 files... 🤔 🤔 test: running \\"test\\"! (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -77,7 +74,6 @@ Checking 2 files... 🤔 ✅ test: \\"test\\" got checked for the first time! (3 issues) 🎉 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -98,7 +94,6 @@ Checking 2 files... 🤔 ✅ test: \\"test\\" got checked for the first time! (3 issues) 🎉 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -122,7 +117,6 @@ Checked 2 files! 🔍 1 test got checked for the first time! 🎉 (press \\"q\\" to quit) - ", ] `; diff --git a/test/watch/__snapshots__/watch-ignored.spec.ts.snap b/test/watch/__snapshots__/watch-ignored.spec.ts.snap index 89d85c1ec..4ddbe917a 100644 --- a/test/watch/__snapshots__/watch-ignored.spec.ts.snap +++ b/test/watch/__snapshots__/watch-ignored.spec.ts.snap @@ -15,7 +15,6 @@ Ignores (press \\"i\\" to edit): No current ignore patterns Starting Betterer in watch mode! 🎉 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -34,7 +33,6 @@ Checking 1 file... 🤔 🌟 Betterer (0ms): (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -54,7 +52,6 @@ Checking 1 file... 🤔 🤔 test: running \\"test\\"! (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -74,7 +71,6 @@ Checking 1 file... 🤔 ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -94,7 +90,6 @@ Checking 1 file... 🤔 ✅ test: \\"test\\" got checked for the first time! (1 issue) 🎉 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -117,7 +112,6 @@ Checked 1 file! 🔍 1 test got checked for the first time! 🎉 (press \\"q\\" to quit) - ", ] `; diff --git a/test/watch/__snapshots__/watch.spec.ts.snap b/test/watch/__snapshots__/watch.spec.ts.snap index 839183a3d..273d8592e 100644 --- a/test/watch/__snapshots__/watch.spec.ts.snap +++ b/test/watch/__snapshots__/watch.spec.ts.snap @@ -8,7 +8,6 @@ Array [ ---ooooo--- | '_ // _ / __| __/ _ / '__/ _ / '__| .-'ooo'-. | |_)| __/ |_| || __/ | | __/ | / | / |_.__//___|/__|/__/___|_| /___|_| - ", " / | / _ _ _ @@ -18,7 +17,6 @@ Array [ / | / |_.__//___|/__|/__/___|_| /___|_| 🌟 Betterer (0ms): - ", " / | / _ _ _ @@ -29,7 +27,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... 🤔 test: running \\"test\\"! - ", " / | / _ _ _ @@ -40,7 +37,6 @@ Array [ 🌟 Betterer (0ms): 1 test running... ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -51,7 +47,6 @@ Array [ 🎉 Betterer (0ms): 1 test done! ✅ test: \\"test\\" got checked for the first time! (2 issues) 🎉 - ", " / | / _ _ _ @@ -65,7 +60,6 @@ Array [ 1 test got checked. 🤔 1 test got checked for the first time! 🎉 - ", " / | / _ _ _ @@ -80,7 +74,6 @@ Ignores (press \\"i\\" to edit): No current ignore patterns Starting Betterer in watch mode! 🎉 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -99,7 +92,6 @@ Checking 1 file... 🤔 🌟 Betterer (0ms): (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -119,7 +111,6 @@ Checking 1 file... 🤔 🤔 test: running \\"test\\"! (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -139,7 +130,6 @@ Checking 1 file... 🤔 🔥 test: \\"test\\" got worse. (1 new issue, 3 total) 😔 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -169,7 +159,6 @@ Checking 1 file... 🤔 Error: \\"test\\" got worse. (1 new issue, 3 total) 😔 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -199,7 +188,6 @@ Checking 1 file... 🤔 Error: \\"test\\" got worse. (1 new issue, 3 total) 😔 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -233,7 +221,6 @@ Error: \\"test\\" got worse. (1 new issue, 3 total) 😔 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -263,7 +250,6 @@ Checking 1 file... 🤔 Error: \\"test\\" got worse. (1 new issue, 3 total) 😔 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -283,7 +269,6 @@ Checking 1 file... 🤔 🤔 test: running \\"test\\"! (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -303,7 +288,6 @@ Checking 1 file... 🤔 ✅ test: \\"test\\" stayed the same. (2 issues) 😐 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -323,7 +307,6 @@ Checking 1 file... 🤔 ✅ test: \\"test\\" stayed the same. (2 issues) 😐 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -346,7 +329,6 @@ Checked 1 file! 🔍 1 test stayed the same. 😐 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -366,7 +348,6 @@ Checking 1 file... 🤔 ✅ test: \\"test\\" stayed the same. (2 issues) 😐 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -386,7 +367,6 @@ Checking 1 file... 🤔 🤔 test: running \\"test\\"! (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -406,7 +386,6 @@ Checking 1 file... 🤔 ✅ test: \\"test\\" got better! (1 fixed issue, 1 remaining) 😍 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -426,7 +405,6 @@ Checking 1 file... 🤔 ✅ test: \\"test\\" got better! (1 fixed issue, 1 remaining) 😍 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -449,7 +427,6 @@ Checked 1 file! 🔍 1 test got better! 😍 (press \\"q\\" to quit) - ", " / | / _ _ _ @@ -459,7 +436,6 @@ Checked 1 file! 🔍 / | / |_.__//___|/__|/__/___|_| /___|_| Stopping watch mode... 👋 - ", ] `; diff --git a/website/docs/api/context.md b/website/docs/api/context.md index 417d7e9dd..286a140e9 100644 --- a/website/docs/api/context.md +++ b/website/docs/api/context.md @@ -144,9 +144,6 @@ type BettererRunNames = Array; ```typescript type BettererSuiteSummary = { readonly runs: BettererRuns; - readonly result: string; - readonly expected: string | null; - readonly unexpectedDiff: boolean; readonly better: BettererRuns; readonly completed: BettererRuns; readonly expired: BettererRuns; @@ -166,18 +163,6 @@ type BettererSuiteSummary = { > The list of all runs. -#### `result`: `string` - -> The serialised run results. - -#### `expected`: `string | null` - -> The serialised expected results. Will be `null` if it is the first time running **Betterer**. - -#### `unexpectedDiff`: `boolean` - -> Will be `true` if running in [CI mode](./running-betterer#ci-mode-run-your-tests-and-throw-on-changes) and `result` is not equal to `expected` - ### State #### `better`: [`BettererRuns`](#bettererruns)