mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 06:51:36 +00:00
chore: Fix types in tests 33/N.
This commit is contained in:
@@ -446,7 +446,7 @@ describe("DirectoryCache", () => {
|
||||
describe("buildOutboundResultEnvelope", () => {
|
||||
it("flattens delivery-only payloads by default", () => {
|
||||
const delivery: OutboundDeliveryJson = {
|
||||
provider: "whatsapp",
|
||||
channel: "whatsapp",
|
||||
via: "gateway",
|
||||
to: "+1",
|
||||
messageId: "m1",
|
||||
@@ -468,7 +468,7 @@ describe("buildOutboundResultEnvelope", () => {
|
||||
|
||||
it("includes delivery when payloads are present", () => {
|
||||
const delivery: OutboundDeliveryJson = {
|
||||
provider: "telegram",
|
||||
channel: "telegram",
|
||||
via: "direct",
|
||||
to: "123",
|
||||
messageId: "m2",
|
||||
@@ -489,7 +489,7 @@ describe("buildOutboundResultEnvelope", () => {
|
||||
|
||||
it("can keep delivery wrapped when requested", () => {
|
||||
const delivery: OutboundDeliveryJson = {
|
||||
provider: "discord",
|
||||
channel: "discord",
|
||||
via: "gateway",
|
||||
to: "channel:C1",
|
||||
messageId: "m3",
|
||||
|
||||
Reference in New Issue
Block a user