diff options
author | Guy Bedford <guybedford@gmail.com> | 2019-02-06 17:42:24 +0200 |
---|---|---|
committer | Guy Bedford <guybedford@gmail.com> | 2019-03-03 18:20:45 +0200 |
commit | ccaebdef66f62775ff8cc5d6fa21881a883c08fc (patch) | |
tree | 8d2861d7f47b1587a9200ed1da1a769371032aa5 /test/es-module/test-esm-process.mjs | |
parent | 1d97374f69b53c6f518a975c1029cac43a308d32 (diff) | |
download | android-node-v8-ccaebdef66f62775ff8cc5d6fa21881a883c08fc.tar.gz android-node-v8-ccaebdef66f62775ff8cc5d6fa21881a883c08fc.tar.bz2 android-node-v8-ccaebdef66f62775ff8cc5d6fa21881a883c08fc.zip |
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>
Diffstat (limited to 'test/es-module/test-esm-process.mjs')
-rw-r--r-- | test/es-module/test-esm-process.mjs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/es-module/test-esm-process.mjs b/test/es-module/test-esm-process.mjs new file mode 100644 index 0000000000..24cf489a98 --- /dev/null +++ b/test/es-module/test-esm-process.mjs @@ -0,0 +1,6 @@ +// Flags: --experimental-modules +import '../common'; +import assert from 'assert'; +import process from 'process'; + +assert.strictEqual(Object.prototype.toString.call(process), '[object process]'); |