mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
* Add a zig fmt action * add failing file * Setup prettier better * Update prettier-fmt.yml * Fail on error * Update prettier-fmt.yml * boop * boop2 * tar.gz * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * boop * Update prettier-fmt.yml * tag * newlines * multiline * fixup * Update zig-fmt.yml * update it * fixup * both * w * Update prettier-fmt.yml * prettier all the things * Update package.json * zig fmt * ❌ ✅ * bump * . * quotes * fix prettier ignore * once more * Update prettier-fmt.yml * Update fallback.ts * consistentcy --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
45 lines
1.3 KiB
JavaScript
45 lines
1.3 KiB
JavaScript
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);
|
|
}
|