File size: 485 Bytes
b59aa07
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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",
  );
});