mirror of
https://github.com/nodejs/node.git
synced 2025-04-29 06:19:07 +00:00

PR-URL: https://github.com/nodejs/node/pull/56712 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
27 lines
473 B
JavaScript
27 lines
473 B
JavaScript
'use strict';
|
|
|
|
// Tests below are not from WPT.
|
|
|
|
require('../common');
|
|
const assert = require('assert');
|
|
|
|
assert.deepStrictEqual(
|
|
Object.getOwnPropertyDescriptor(globalThis, 'URL'),
|
|
{
|
|
value: URL,
|
|
writable: true,
|
|
configurable: true,
|
|
enumerable: false
|
|
}
|
|
);
|
|
|
|
assert.deepStrictEqual(
|
|
Object.getOwnPropertyDescriptor(globalThis, 'URLSearchParams'),
|
|
{
|
|
value: URLSearchParams,
|
|
writable: true,
|
|
configurable: true,
|
|
enumerable: false
|
|
}
|
|
);
|