mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 01:13:39 +00:00
test: remove fixtures for retired controlled replay
This commit is contained in:
1 parent
b05f472592
commit
fe4105187d
6 files changed
-35
No files matched your search
Vendored
-5
@@ -1,5 +0,0 @@
|
||||
export default function busyLoop() {
|
||||
while (true) {
|
||||
// Intentionally consume the committed wall-clock budget.
|
||||
}
|
||||
}
|
||||
-1
@@ -1 +0,0 @@
|
||||
export default async () => import("node:fs");
|
||||
Vendored
-3
@@ -1,3 +0,0 @@
|
||||
export default function fail(value) {
|
||||
throw new TypeError(`fixture:${value}`);
|
||||
}
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
export default function allocateUntilKilled() {
|
||||
const retained = [];
|
||||
while (true) {
|
||||
const allocation = new Uint8Array(1024 * 1024);
|
||||
allocation.fill(1);
|
||||
retained.push(allocation);
|
||||
}
|
||||
}
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
export default () =>
|
||||
new Proxy(
|
||||
{ hidden: true },
|
||||
{
|
||||
ownKeys() {
|
||||
throw new Error("proxy trap must not run");
|
||||
},
|
||||
},
|
||||
);
|
||||
@@ -1,9 +0,0 @@
|
||||
export default function attempt() {
|
||||
return {
|
||||
process: typeof process,
|
||||
require: typeof require,
|
||||
fetch: typeof fetch,
|
||||
buffer: typeof Buffer,
|
||||
timer: typeof setTimeout,
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user