Skip to content

Commit

Permalink
rollback require change
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed May 13, 2024
1 parent 123ee83 commit abba498
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion test/abort-task.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EventEmitter } from 'events';
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';

Expand Down
2 changes: 1 addition & 1 deletion test/async-context.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createHook, executionAsyncId } from 'async_hooks';
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';

Expand Down
2 changes: 1 addition & 1 deletion test/atomics-optimization.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';

Expand Down
2 changes: 1 addition & 1 deletion test/histogram.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';

Expand Down
2 changes: 1 addition & 1 deletion test/idle-timeout.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';
import { promisify } from 'util';
Expand Down
2 changes: 1 addition & 1 deletion test/move-test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import {
isMovable,
markMovable,
Expand Down
2 changes: 1 addition & 1 deletion test/nice.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { resolve } from 'path';
import { test } from 'tap';

Expand Down
2 changes: 1 addition & 1 deletion test/option-validation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';

test('filename cannot be non-null/non-string', async ({ throws }) => {
Expand Down
2 changes: 1 addition & 1 deletion test/pool-destroy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';

Expand Down
2 changes: 1 addition & 1 deletion test/post-task.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { MessageChannel } from 'worker_threads';
import { cpus } from 'os';
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';

Expand Down
2 changes: 1 addition & 1 deletion test/simple-test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { version } from '../package.json';
import { pathToFileURL } from 'url';
Expand Down
2 changes: 1 addition & 1 deletion test/task-queue.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';
import { Task, TaskQueue } from '../dist/src/common';
Expand Down
2 changes: 1 addition & 1 deletion test/test-resourcelimits.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';

Expand Down
2 changes: 1 addition & 1 deletion test/test-uncaught-exception-from-handler.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { test } from 'tap';
import { resolve } from 'path';
import { once } from 'events';
Expand Down
2 changes: 1 addition & 1 deletion test/thread-count.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Piscina = require('..');
import Piscina from '..';
import { cpus } from 'os';
import { test } from 'tap';
import { resolve } from 'path';
Expand Down

0 comments on commit abba498

Please sign in to comment.