summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJure Stepisnik <jure.stepisnik@tretton37.com>2019-11-12 15:53:46 +0000
committerGireesh Punathil <gpunathi@in.ibm.com>2019-11-18 13:47:46 +0530
commit0bc0abb941c0aeb58d057c033f217819f22bb105 (patch)
tree9466aa07c206bc99e73a98de3422828aea97c599 /test
parent50902d00ad06ba734f7e69b17fa37a54d1b79e8f (diff)
downloadandroid-node-v8-0bc0abb941c0aeb58d057c033f217819f22bb105.tar.gz
android-node-v8-0bc0abb941c0aeb58d057c033f217819f22bb105.tar.bz2
android-node-v8-0bc0abb941c0aeb58d057c033f217819f22bb105.zip
test: Change from var to const
PR-URL: https://github.com/nodejs/node/pull/30431 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-vm-module-link.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-vm-module-link.js b/test/parallel/test-vm-module-link.js
index 9678d13737..56443e3e1a 100644
--- a/test/parallel/test-vm-module-link.js
+++ b/test/parallel/test-vm-module-link.js
@@ -97,11 +97,11 @@ async function circular2() {
`,
'./a.mjs': `
export * from './b.mjs';
- export var fromA;
+ export let fromA;
`,
'./b.mjs': `
export * from './a.mjs';
- export var fromB;
+ export let fromB;
`
};
const moduleMap = new Map();