Skip to content

Commit 3b9d110

Browse files
committed
Fix linting
1 parent 0917d4e commit 3b9d110

14 files changed

+18
-18
lines changed

src/abort.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { each } from 'test-each'
33

44
import { printVersionArgs } from './helpers/args.test.js'
55
import { runCli } from './helpers/run.test.js'
6-
import { VERY_OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'
6+
import { TEST_VERSION, VERY_OLD_TEST_VERSION } from './helpers/versions.test.js'
77

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

src/bin.test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import semver from 'semver'
33
import { each } from 'test-each'
44

55
import { printVersionArgs } from './helpers/args.test.js'
6-
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
6+
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
77
import {
8-
TEST_VERSION,
8+
GLOBAL_VERSION,
99
LATEST_STAR_VERSION,
1010
LATEST_VERSION,
11-
LTS_VERSION,
12-
GLOBAL_VERSION,
1311
LOCAL_VERSION,
12+
LTS_VERSION,
13+
TEST_VERSION,
1414
} from './helpers/versions.test.js'
1515

1616
const FIXTURES_DIR = new URL('fixtures/', import.meta.url)

src/cleanup.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import test from 'ava'
22
import { each } from 'test-each'
33

4-
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
4+
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
55
import { OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'
66

77
each([runSerial, runParallel], ({ title }, run) => {

src/colors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { stdout, env } from 'node:process'
1+
import { env, stdout } from 'node:process'
22
import { WriteStream } from 'node:tty'
33

44
const {

src/dry.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import test from 'ava'
22
import { each } from 'test-each'
33

4-
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
4+
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
55
import { TEST_VERSION } from './helpers/versions.test.js'
66

77
each(

src/error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { stdout, stderr } from 'node:process'
1+
import { stderr, stdout } from 'node:process'
22
import { setTimeout } from 'node:timers/promises'
33

44
import chalk from 'chalk'

src/error.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import test from 'ava'
22
import { each } from 'test-each'
33

4-
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
4+
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
55
import { OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'
66

77
each([runCli, runSerial, runParallel], ({ title }, run) => {

src/fault.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import test from 'ava'
44
import { each } from 'test-each'
55

66
import { runCliNoVersion } from './helpers/run.test.js'
7-
import { TEST_VERSION, INVALID_VERSION } from './helpers/versions.test.js'
7+
import { INVALID_VERSION, TEST_VERSION } from './helpers/versions.test.js'
88

99
each(
1010
[

src/header.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import hasAnsi from 'has-ansi'
33
import { each } from 'test-each'
44

55
import { printVersionArgs } from './helpers/args.test.js'
6-
import { runSerial, runParallel } from './helpers/run.test.js'
6+
import { runParallel, runSerial } from './helpers/run.test.js'
77
import { TEST_VERSION } from './helpers/versions.test.js'
88

99
each([runSerial, runParallel], ({ title }, run) => {

src/parallel.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import test from 'ava'
22
import { each } from 'test-each'
33

44
import { printModernNodeArgs } from './helpers/args.test.js'
5-
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
6-
import { TEST_VERSION, OLD_TEST_VERSION } from './helpers/versions.test.js'
5+
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
6+
import { OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'
77

88
test('Forward exit code and output on late failure | runParallel', async (t) => {
99
const { exitCode, stdout, stderr } = await runCli(

src/parse.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import test from 'ava'
22
import { each } from 'test-each'
33

44
import { printVersionArgs } from './helpers/args.test.js'
5-
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
5+
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
66
import { TEST_VERSION } from './helpers/versions.test.js'
77

88
each(

src/serial.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import test from 'ava'
22

33
import { printModernNodeArgs } from './helpers/args.test.js'
44
import { runCli } from './helpers/run.test.js'
5-
import { TEST_VERSION, OLD_TEST_VERSION } from './helpers/versions.test.js'
5+
import { OLD_TEST_VERSION, TEST_VERSION } from './helpers/versions.test.js'
66

77
test(`Forward exit code and output on late failure | runSerial`, async (t) => {
88
const { exitCode, stdout, stderr } = await runCli(

src/stdin.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import test from 'ava'
22
import { each } from 'test-each'
33

4-
import { runCli, runSerial, runParallel } from './helpers/run.test.js'
4+
import { runCli, runParallel, runSerial } from './helpers/run.test.js'
55
import { TEST_VERSION } from './helpers/versions.test.js'
66

77
each(

src/top.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { printVersionArgs } from './helpers/args.test.js'
66
import {
77
runCli,
88
runCliNoVersion,
9-
runSerial,
109
runParallel,
10+
runSerial,
1111
} from './helpers/run.test.js'
1212
import { TEST_VERSION } from './helpers/versions.test.js'
1313

0 commit comments

Comments
 (0)