mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-06 06:41:08 +00:00
test: import slack monitor helpers directly
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user