Files
node/test/es-module/test-esm-process.mjs
T
Guy Bedford ccaebdef66 esm: process proxy Symbol.toString fix
PR-URL: https://github.com/nodejs/node/pull/25963
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-03-03 18:20:45 +02:00

7 lines
195 B
JavaScript

// Flags: --experimental-modules
import '../common';
import assert from 'assert';
import process from 'process';
assert.strictEqual(Object.prototype.toString.call(process), '[object process]');