mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
25 lines
485 B
TypeScript
25 lines
485 B
TypeScript
import { describe, it, vi, beforeEach, afterEach } from "vitest";
|
|
|
|
// Mock the store module
|
|
vi.mock("#/store", () => ({
|
|
default: {
|
|
dispatch: vi.fn(),
|
|
},
|
|
}));
|
|
|
|
describe("handleObservationMessage", () => {
|
|
beforeEach(() => {
|
|
vi.clearAllMocks();
|
|
});
|
|
|
|
afterEach(() => {
|
|
vi.resetAllMocks();
|
|
});
|
|
|
|
it.todo("updates browser state when receiving a browse observation");
|
|
|
|
it.todo(
|
|
"updates browser state when receiving a browse_interactive observation",
|
|
);
|
|
});
|