mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +01:00
80270994d6
Refs: https://github.com/nodejs/node/pull/43885 Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: https://github.com/nodejs/node/pull/44860 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
12 lines
273 B
JavaScript
12 lines
273 B
JavaScript
// Flags: --expose-internals
|
|
'use strict';
|
|
|
|
require('../common');
|
|
const { strictEqual, ok } = require('node:assert');
|
|
const { CustomEvent: internalCustomEvent } = require('internal/event_target');
|
|
|
|
// Global
|
|
ok(CustomEvent);
|
|
|
|
strictEqual(CustomEvent, internalCustomEvent);
|