summaryrefslogtreecommitdiff
path: root/test/parallel/test-worker-load-file-with-extension-other-than-js.js
blob: 5dca297576b9783d4df59af8d00de700f39da160 (plain)
1
2
3
4
5
6
7
8
9
'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'));
}))();