aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-01 20:05:38 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-01 20:05:38 -0700
commit92b174b3156f317ae942f0be4ca89f05df99a4c6 (patch)
tree42f1db372a0ffa3c2fcebb04baad090c728e767e /integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
parent0ba9784be2fd56700652e85c563f931c6a2bb112 (diff)
downloadbun-92b174b3156f317ae942f0be4ca89f05df99a4c6.tar.gz
bun-92b174b3156f317ae942f0be4ca89f05df99a4c6.tar.zst
bun-92b174b3156f317ae942f0be4ca89f05df99a4c6.zip
Add Bun.js integration tests, but don't run them yet.
Diffstat (limited to 'integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js')
-rw-r--r--integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js b/integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
index 370b1abec..1ba6c059d 100644
--- a/integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
+++ b/integration/snippets/cjs-transform-shouldnt-have-static-imports-in-cjs-function.js
@@ -4,10 +4,10 @@ import * as _loginReally from "./_login";
import * as _loginReally2 from "./_login";
import * as _authReally from "./_auth";
-module.exports.iAmCommonJs = true;
-exports.YouAreCommonJS = true;
-require("./_login");
-require("./_login");
+// module.exports.iAmCommonJs = true;
+// exports.YouAreCommonJS = true;
+// require("./_login");
+// require("./_login");
export { _login as login };
export function test() {
eanup * cleanup 2 * oops * move _generateKeyPairSync checks to native 2023-10-07Exclude more filesGravatar Jarred Sumner 1-1/+1 2023-10-07Exclude more filesGravatar Jarred Sumner 1-1/+2 2023-10-07Update settings.jsonGravatar Jarred Sumner 1-1/+2 2023-10-07Update settings.jsonGravatar Jarred Sumner 1-2/+3 2023-10-06fix a couple install testsGravatar Dylan Conway 1-8/+8 2023-10-06formatGravatar Dylan Conway 1-1/+2 2023-10-06Fix memory leak in fetch() (#6350)Gravatar Jarred Sumner 1-2/+0 Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-10-06[types] allow onLoad plugin callbacks to return undefined (#6346)Gravatar Silver 1-1/+1 Returning undefined simply falls through to the next plugin, or to the default loader. This is defined by esbuild, and supported by Bun, but the types don't reflect it properly. 2023-10-06docs: `file.stream()` is not a promise (#6337)Gravatar Paul Nodet 1-1/+1