diff options
author | 2021-10-25 06:17:16 -0700 | |
---|---|---|
committer | 2021-10-25 06:17:16 -0700 | |
commit | eae70511116b1b08fa11f77332f8a5aa21f7cd50 (patch) | |
tree | a26b5af69e3a3dd418a742cfc608924942cb3e3a /integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js | |
parent | adb6be05d1697d15edcddff6536d6dd6368e131e (diff) | |
download | bun-eae70511116b1b08fa11f77332f8a5aa21f7cd50.tar.gz bun-eae70511116b1b08fa11f77332f8a5aa21f7cd50.tar.zst bun-eae70511116b1b08fa11f77332f8a5aa21f7cd50.zip |
Add snapshots for latin1 regexp, add more codepoints to string escapes
Diffstat (limited to 'integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js')
-rw-r--r-- | integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js index d8e3ccdd1..fa25e2df8 100644 --- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js +++ b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js @@ -24,9 +24,10 @@ export default __cJS2eSM(function(module, exports) { require(_login_b977_0); require(_login_b977_1); Object.defineProperty(module.exports,"login",{get: () => _login, enumerable: true, configurable: true}); - var test = function test() { + function test() { return testDone(import.meta.url); }; +var test = test; Object.defineProperty(module.exports,"test",{get: () => test, enumerable: true, configurable: true}); var foo, bar; Object.defineProperties(module.exports,{'foo': {get: () => foo, set: ($_newValue) => {foo = $_newValue;}, enumerable: true, configurable: true}, |