Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 31, 2024
1 parent 0917d4e commit 3b9d110
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/abort.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { each } from 'test-each'

import { printVersionArgs } from './helpers/args.test.js'
import { runCli } from './helpers/run.test.js'
import { VERY_OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'
import { TEST_VERSION, VERY_OLD_TEST_VERSION } from './helpers/versions.test.js'

const RECENT_ARCH_OPT = ['--arch', 'arm']

Expand Down
8 changes: 4 additions & 4 deletions src/bin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import semver from 'semver'
import { each } from 'test-each'

import { printVersionArgs } from './helpers/args.test.js'
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
import {
TEST_VERSION,
GLOBAL_VERSION,
LATEST_STAR_VERSION,
LATEST_VERSION,
LTS_VERSION,
GLOBAL_VERSION,
LOCAL_VERSION,
LTS_VERSION,
TEST_VERSION,
} from './helpers/versions.test.js'

const FIXTURES_DIR = new URL('fixtures/', import.meta.url)
Expand Down
2 changes: 1 addition & 1 deletion src/cleanup.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from 'ava'
import { each } from 'test-each'

import { runCli, runSerial, runParallel } from './helpers/run.test.js'
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
import { OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'

each([runSerial, runParallel], ({ title }, run) => {
Expand Down
2 changes: 1 addition & 1 deletion src/colors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { stdout, env } from 'node:process'
import { env, stdout } from 'node:process'
import { WriteStream } from 'node:tty'

const {
Expand Down
2 changes: 1 addition & 1 deletion src/dry.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from 'ava'
import { each } from 'test-each'

import { runCli, runSerial, runParallel } from './helpers/run.test.js'
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
import { TEST_VERSION } from './helpers/versions.test.js'

each(
Expand Down
2 changes: 1 addition & 1 deletion src/error.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { stdout, stderr } from 'node:process'
import { stderr, stdout } from 'node:process'
import { setTimeout } from 'node:timers/promises'

import chalk from 'chalk'
Expand Down
2 changes: 1 addition & 1 deletion src/error.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from 'ava'
import { each } from 'test-each'

import { runCli, runSerial, runParallel } from './helpers/run.test.js'
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
import { OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'

each([runCli, runSerial, runParallel], ({ title }, run) => {
Expand Down
2 changes: 1 addition & 1 deletion src/fault.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import test from 'ava'
import { each } from 'test-each'

import { runCliNoVersion } from './helpers/run.test.js'
import { TEST_VERSION, INVALID_VERSION } from './helpers/versions.test.js'
import { INVALID_VERSION, TEST_VERSION } from './helpers/versions.test.js'

each(
[
Expand Down
2 changes: 1 addition & 1 deletion src/header.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import hasAnsi from 'has-ansi'
import { each } from 'test-each'

import { printVersionArgs } from './helpers/args.test.js'
import { runSerial, runParallel } from './helpers/run.test.js'
import { runParallel, runSerial } from './helpers/run.test.js'
import { TEST_VERSION } from './helpers/versions.test.js'

each([runSerial, runParallel], ({ title }, run) => {
Expand Down
4 changes: 2 additions & 2 deletions src/parallel.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import test from 'ava'
import { each } from 'test-each'

import { printModernNodeArgs } from './helpers/args.test.js'
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
import { TEST_VERSION, OLD_TEST_VERSION } from './helpers/versions.test.js'
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
import { OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'

test('Forward exit code and output on late failure | runParallel', async (t) => {
const { exitCode, stdout, stderr } = await runCli(
Expand Down
2 changes: 1 addition & 1 deletion src/parse.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import test from 'ava'
import { each } from 'test-each'

import { printVersionArgs } from './helpers/args.test.js'
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
import { TEST_VERSION } from './helpers/versions.test.js'

each(
Expand Down
2 changes: 1 addition & 1 deletion src/serial.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import test from 'ava'

import { printModernNodeArgs } from './helpers/args.test.js'
import { runCli } from './helpers/run.test.js'
import { TEST_VERSION, OLD_TEST_VERSION } from './helpers/versions.test.js'
import { OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'

test(`Forward exit code and output on late failure | runSerial`, async (t) => {
const { exitCode, stdout, stderr } = await runCli(
Expand Down
2 changes: 1 addition & 1 deletion src/stdin.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import test from 'ava'
import { each } from 'test-each'

import { runCli, runSerial, runParallel } from './helpers/run.test.js'
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
import { TEST_VERSION } from './helpers/versions.test.js'

each(
Expand Down
2 changes: 1 addition & 1 deletion src/top.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { printVersionArgs } from './helpers/args.test.js'
import {
runCli,
runCliNoVersion,
runSerial,
runParallel,
runSerial,
} from './helpers/run.test.js'
import { TEST_VERSION } from './helpers/versions.test.js'

Expand Down

0 comments on commit 3b9d110

Please sign in to comment.