mirror of
https://github.com/nodejs/node.git
synced 2025-05-04 04:43:16 +00:00

PR-URL: https://github.com/nodejs/node/pull/39788 Fixes: https://github.com/nodejs/node/issues/39124 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
10 lines
228 B
JavaScript
10 lines
228 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const fixtures = require('../common/fixtures');
|
|
|
|
const { Worker } = require('worker_threads');
|
|
|
|
(common.mustCall(() => {
|
|
new Worker(fixtures.path('worker-script.ts'));
|
|
}))();
|