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 2fac37b commit 7700e6d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
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 { EVENTS, emit, emitValue } from './helpers/events.test.js'
import { emit, emitValue, EVENTS } from './helpers/events.test.js'
import { removeProcessListeners } from './helpers/remove.test.js'
import { startLogging } from './helpers/start.test.js'

Expand Down
2 changes: 1 addition & 1 deletion src/events.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { spy } from 'sinon'
import { each } from 'test-each'

import { getConsoleStub } from './helpers/console.test.js'
import { EVENTS, emit, getCallCount } from './helpers/events.test.js'
import { emit, EVENTS, getCallCount } from './helpers/events.test.js'
import { removeProcessListeners } from './helpers/remove.test.js'
import { startLogging } from './helpers/start.test.js'

Expand Down
8 changes: 4 additions & 4 deletions src/exit.test.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import process, { version, nextTick } from 'node:process'
import process, { nextTick, version } from 'node:process'
import { promisify } from 'node:util'

import test from 'ava'

// eslint-disable-next-line no-restricted-imports
import { EXIT_TIMEOUT, EXIT_CODE } from './exit.js'
import { EXIT_CODE, EXIT_TIMEOUT } from './exit.js'
import { emit } from './helpers/events.test.js'
import {
startProcessLogging,
startExitLogging,
startClockLogging,
startExitLogging,
startProcessLogging,
} from './helpers/exit.test.js'
import { removeProcessListeners } from './helpers/remove.test.js'

Expand Down
2 changes: 1 addition & 1 deletion src/limit.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 { getRandomStackError } from './helpers/error.test.js'
import { EVENTS, emit, emitManyValues } from './helpers/events.test.js'
import { emit, emitManyValues, EVENTS } from './helpers/events.test.js'
import { removeProcessListeners } from './helpers/remove.test.js'
import { startLogging } from './helpers/start.test.js'
// eslint-disable-next-line no-restricted-imports
Expand Down
4 changes: 2 additions & 2 deletions src/main.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import logProcessErrors, {
type Options,
type Event as LogProcessErrorEvent,
type Options,
} from 'log-process-errors'
import { expectType, expectAssignable, expectNotAssignable } from 'tsd'
import { expectAssignable, expectNotAssignable, expectType } from 'tsd'

const undo = logProcessErrors()
expectType<void>(undo())
Expand Down
2 changes: 1 addition & 1 deletion src/main.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 { EVENTS, emit } from './helpers/events.test.js'
import { emit, EVENTS } from './helpers/events.test.js'
import { setProcessEvent, unsetProcessEvent } from './helpers/process.test.js'
import { removeProcessListeners } from './helpers/remove.test.js'
import { startLogging } from './helpers/start.test.js'
Expand Down
6 changes: 3 additions & 3 deletions src/repeat.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import test from 'ava'
import { each } from 'test-each'

import {
getRandomMessageError,
getObjectError,
getInvalidError,
getObjectError,
getRandomMessageError,
} from './helpers/error.test.js'
import {
EVENTS,
emitMany,
emitManyValues,
EVENTS,
getCallCount,
} from './helpers/events.test.js'
import { removeProcessListeners } from './helpers/remove.test.js'
Expand Down
2 changes: 1 addition & 1 deletion src/warnings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import spawn from 'nano-spawn'
import { each } from 'test-each'

import { getConsoleStub } from './helpers/console.test.js'
import { EVENTS, emit } from './helpers/events.test.js'
import { emit, EVENTS } from './helpers/events.test.js'
import { setProcessEvent, unsetProcessEvent } from './helpers/process.test.js'
import { removeProcessListeners } from './helpers/remove.test.js'
import { startLogging } from './helpers/start.test.js'
Expand Down

0 comments on commit 7700e6d

Please sign in to comment.