Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Jan 4, 2025
1 parent 7d8c672 commit 3caffd1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/supertape/lib/formatter/harness.spec.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

const {stub} = require('supertape');
const {once} = require('node:events');
const {Transform} = require('node:stream');
const {stub} = require('supertape');

const test = require('../..');
const {createHarness} = require('./harness');
Expand Down
2 changes: 1 addition & 1 deletion packages/supertape/lib/supertape.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ const process = require('node:process');
const {once} = require('node:events');
const {Transform} = require('node:stream');

const {test, stub} = require('..');
const montag = require('montag');
const {reRequire} = require('mock-require');
const pullout = require('pullout');
const {test, stub} = require('..');

const pull = async (stream, end = -2) => {
const output = await pullout(await stream);
Expand Down
2 changes: 1 addition & 1 deletion packages/supertape/lib/validator.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

const tryCatch = require('try-catch');

const mockRequire = require('mock-require');
const {stub, test} = require('..');

const mockRequire = require('mock-require');
const {getAt} = require('./validator');

const {stopAll, reRequire} = mockRequire;
Expand Down
4 changes: 2 additions & 2 deletions packages/supertape/lib/worker/create-console-log.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
'use strict';

const {test, stub} = require('supertape');

const {stringify} = require('flatted');
const {
overrideConsoleLog,
CONSOLE_LOG,
overrideConsoleError,
} = require('./create-console-log');

const {stringify} = require('flatted');

test('supertape: worker: create-console-log', (t) => {
const log = stub();
const consoleStub = {
Expand Down

0 comments on commit 3caffd1

Please sign in to comment.