'use strict';
const common = require('../common');
const { Worker } = require('worker_threads');
new Worker("require('trace_events')", { eval: true })
.on('error', common.expectsError({
code: 'ERR_TRACE_EVENTS_UNAVAILABLE',
name: 'Error'
}));