Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions nemoclaw/src/blueprint/runner-mock-fixtures.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

import { describe, expect, it } from "vitest";

import { createRunnerFsStore, inMemoryFsMethods } from "./runner-mock-fixtures.js";

describe("blueprint runner mock fixtures", () => {
it("uses direct filesystem methods when no spy wrapper is supplied", () => {
const { store } = createRunnerFsStore();
const memory = inMemoryFsMethods(store);

expect(memory.existsSync("/sandbox")).toBe(false);
memory.mkdirSync("/sandbox");
expect(memory.existsSync("/sandbox")).toBe(true);
});
});
Loading