mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: tighten run-tsgo sparse guard assertion
This commit is contained in:
@@ -147,7 +147,7 @@ describe("run-tsgo sparse guard", () => {
|
||||
expect(shouldSkipSparseTsgoGuardError({ OPENCLAW_TSGO_SPARSE_SKIP: "1" })).toBe(true);
|
||||
expect(shouldSkipSparseTsgoGuardError({ OPENCLAW_TSGO_SPARSE_SKIP: "true" })).toBe(true);
|
||||
expect(shouldSkipSparseTsgoGuardError({ OPENCLAW_TSGO_SPARSE_SKIP: "0" })).toBe(false);
|
||||
expect(createSparseTsgoSkipEnv({ PATH: "/usr/bin" })).toMatchObject({
|
||||
expect(createSparseTsgoSkipEnv({ PATH: "/usr/bin" })).toStrictEqual({
|
||||
PATH: "/usr/bin",
|
||||
OPENCLAW_TSGO_SPARSE_SKIP: "1",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user