mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com> PR-URL: https://github.com/nodejs/node/pull/62672 Refs: https://github.com/nodejs/node/issues/62223 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
15 lines
225 B
JavaScript
15 lines
225 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const { isMainThread } = require('worker_threads');
|
|
|
|
if (!isMainThread) {
|
|
process.exit(0);
|
|
}
|
|
|
|
const assert = require('assert');
|
|
|
|
{
|
|
assert.strictEqual(process.permission, undefined);
|
|
}
|