aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-23 22:01:34 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-09-23 22:01:34 -0700
commit4bb41b95a826892107b7ff3ff610d23d5afa96b6 (patch)
tree439f273d09ae8fa845eaec24c9e436c8fd244be3 /integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
parentf78f4854a4e474a08023841f4714f0cd3774126b (diff)
downloadbun-4bb41b95a826892107b7ff3ff610d23d5afa96b6.tar.gz
bun-4bb41b95a826892107b7ff3ff610d23d5afa96b6.tar.zst
bun-4bb41b95a826892107b7ff3ff610d23d5afa96b6.zip
:camera:
Diffstat (limited to 'integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js')
-rw-r--r--integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
index d8e3ccdd1..d9f64c5b9 100644
--- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
+++ b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
@@ -28,7 +28,7 @@ export default __cJS2eSM(function(module, exports) {
return testDone(import.meta.url);
};
Object.defineProperty(module.exports,"test",{get: () => test, enumerable: true, configurable: true});
- var foo, bar;
+ let foo, bar;
Object.defineProperties(module.exports,{'foo': {get: () => foo, set: ($_newValue) => {foo = $_newValue;}, enumerable: true, configurable: true},
'bar': {get: () => bar, set: ($_newValue) => {bar = $_newValue;}, enumerable: true, configurable: true}});
}, "cjs-transform-shouldnt-have-static-imports-in-cjs-function.js");