aboutsummaryrefslogtreecommitdiff
path: root/integration/snippets/code-simplification-neql-define.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snippets/code-simplification-neql-define.js')
-rw-r--r--integration/snippets/code-simplification-neql-define.js56
1 files changed, 0 insertions, 56 deletions
diff --git a/integration/snippets/code-simplification-neql-define.js b/integration/snippets/code-simplification-neql-define.js
deleted file mode 100644
index ed5c5c395..000000000
--- a/integration/snippets/code-simplification-neql-define.js
+++ /dev/null
@@ -1,56 +0,0 @@
-var testFailed = false;
-const invariant = () => {
- testFailed = true;
-};
-var $$m = (arg) => {
- var module = { exports: {} },
- exports = module.exports;
- return arg(module, exports);
-};
-var size = 100,
- ttl = 3600;
-
-export var $f332019d = $$m(
- {
- "relay-runtime/lib/network/RelayQueryResponseCache.js": (
- module,
- exports
- ) => {
- var RelayQueryResponseCache = function () {
- var foo = function RelayQueryResponseCache(_ref) {
- var size = _ref.size,
- ttl = _ref.ttl;
- !(size > 0)
- ? process.env.NODE_ENV !== "production"
- ? invariant(
- false,
- "RelayQueryResponseCache: Expected the max cache size to be > 0, got " +
- "`%s`.",
- size
- )
- : invariant(false)
- : void 0;
- !(ttl > 0)
- ? process.env.NODE_ENV !== "production"
- ? invariant(
- false,
- "RelayQueryResponseCache: Expected the max ttl to be > 0, got `%s`.",
- ttl
- )
- : invariant(false)
- : void 0;
- };
- foo({ size: 100, ttl: 3600 });
- };
- RelayQueryResponseCache();
- },
- }["relay-runtime/lib/network/RelayQueryResponseCache.js"]
-);
-
-export function test() {
- var foo = () => result;
- // $f332019d;
-
- if (testFailed) throw new Error("invariant should not be called");
- return testDone(import.meta.url);
-}
6b22e00f1d0cd98e611063c2b9407a31a&follow=1'>[JS/JSON] Optimize parsing long stringsGravatar Jarred Sumner 1-1/+37 2022-03-07[JS Parser] Add optimization for JSX spreadGravatar Jarred Sumner 1-0/+11 2022-03-061.7x faster sourcemap printingGravatar Jarred Sumner 1-24/+32 2022-03-06source maps work for app code in `bun dev`!Gravatar Jarred Sumner 19-153/+1098 2022-03-05[JS Parser] dot property shorthand for JSXGravatar Jarred Sumner 3-10/+82 2022-03-05Update README.mdGravatar Jarred Sumner 1-1/+1 2022-03-05Update README.mdGravatar Jarred Sumner 1-1/+1 2022-03-05Update README.mdGravatar Jarred Sumner 1-1/+12