mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 08:36:29 +00:00
test: reset imessage facade runtime before each test
This commit is contained in:
parent
15d5878d91
commit
f7a32cd25e
1 changed files with 5 additions and 1 deletions
|
|
@ -1,10 +1,14 @@
|
|||
import { afterEach, describe, expect, it } from "vitest";
|
||||
import { afterEach, beforeEach, describe, expect, it } from "vitest";
|
||||
import {
|
||||
listImportedBundledPluginFacadeIds,
|
||||
resetFacadeRuntimeStateForTest,
|
||||
} from "../../../src/plugin-sdk/facade-runtime.js";
|
||||
import { createIMessageTestPlugin } from "./test-plugin.js";
|
||||
|
||||
beforeEach(() => {
|
||||
resetFacadeRuntimeStateForTest();
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
resetFacadeRuntimeStateForTest();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue