node/test/fixtures/v8-coverage/worker.js

6 lines
145 B
JavaScript

'use strict';
const { Worker } = require('worker_threads');
const path = require('path');
new Worker(path.resolve(__dirname, 'subprocess.js'));