mirror of https://github.com/openclaw/openclaw.git
test: import slack monitor helpers directly
This commit is contained in:
parent
91618438bc
commit
bbbfbd2db4
|
|
@ -1,9 +1,7 @@
|
|||
import { describe, expect, it } from "vitest";
|
||||
import {
|
||||
buildSlackSlashCommandMatcher,
|
||||
isSlackChannelAllowedByPolicy,
|
||||
resolveSlackThreadTs,
|
||||
} from "./monitor.js";
|
||||
import { buildSlackSlashCommandMatcher } from "./monitor/commands.js";
|
||||
import { isSlackChannelAllowedByPolicy } from "./monitor/policy.js";
|
||||
import { resolveSlackThreadTs } from "./monitor/replies.js";
|
||||
|
||||
describe("slack groupPolicy gating", () => {
|
||||
it("allows when policy is open", () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue