We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6273237 commit 404ccfdCopy full SHA for 404ccfd
packages/frida-tools/test/base.ts
@@ -7,10 +7,14 @@ import { Effect, Layer } from "effect";
7
export const DeviceLive = FridaDevice.layerLocalDevice;
8
export const SessionLive = Layer.unwrapScoped(
9
Effect.gen(function* () {
10
+ if ("CI" in process.env) {
11
+ return FridaSession.layer("/usr/bin/sleep", ["infinity"]);
12
+ }
13
+
14
const executor = yield* CommandExecutor.CommandExecutor;
15
const command = Command.make("sleep", "infinity");
- const process = yield* executor.start(command);
- return FridaSession.layer(process.pid);
16
+ const proc = yield* executor.start(command);
17
+ return FridaSession.layer(proc.pid);
18
})
19
);
20
0 commit comments