test(shared): batch 47 (4 files)
This commit is contained in:
@@ -13,7 +13,7 @@ import { unsafeTestValue } from "../../../test-support/unsafe-test-value"
|
||||
const originalFetch = globalThis.fetch
|
||||
|
||||
const tempHome = mkdtempSync(join(tmpdir(), "openclaw-reply-listener-discord-"))
|
||||
const stateDir = join(tempHome, ".omx", "state")
|
||||
const stateDir = join(tempHome, ".omo", "openclaw", "state")
|
||||
const stateFilePath = join(stateDir, "reply-listener-state.json")
|
||||
|
||||
function createConfig(): OpenClawConfig {
|
||||
|
||||
@@ -16,7 +16,7 @@ const originalUserProfile = process.env.USERPROFILE
|
||||
const originalStartupTimeout = process.env.OMO_OPENCLAW_REPLY_LISTENER_STARTUP_TIMEOUT_MS
|
||||
|
||||
const tempHome = mkdtempSync(join(tmpdir(), "openclaw-reply-listener-"))
|
||||
const stateDir = join(tempHome, ".omx", "state")
|
||||
const stateDir = join(tempHome, ".omo", "openclaw", "state")
|
||||
const configFilePath = join(stateDir, "reply-listener-config.json")
|
||||
const stateFilePath = join(stateDir, "reply-listener-state.json")
|
||||
const pidFilePath = join(stateDir, "reply-listener.pid")
|
||||
|
||||
@@ -13,7 +13,6 @@ describe("EXCLUDED_DIRS", () => {
|
||||
".next",
|
||||
".omo",
|
||||
".sisyphus",
|
||||
".omx",
|
||||
".turbo",
|
||||
"coverage",
|
||||
"out",
|
||||
|
||||
@@ -6,7 +6,6 @@ const EXCLUDED_DIR_NAMES = [
|
||||
".next",
|
||||
".omo",
|
||||
".sisyphus",
|
||||
".omx",
|
||||
".turbo",
|
||||
"coverage",
|
||||
"out",
|
||||
|
||||
Reference in New Issue
Block a user