Skip to content

Commit

Permalink
Send SAYS before notification of a test leg
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmaraev committed Sep 10, 2024
1 parent f6da9fd commit 9b9b7f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/dme.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,24 @@ describe("DME tests", () => {
},
NEXT_MOVE: {
actions: [
sendTo(
"dmeTestID",
({ event }) => ({
type: "SAYS",
value: {
speaker: "sys",
move: event.value,
},
}),
{ delay: 1000 },
),
{
type: "notify",
params: ({ event }) => ({
speaker: "sys",
message: nlg(event.value),
}),
delay: 2000,
},
],
},
Expand Down

0 comments on commit 9b9b7f2

Please sign in to comment.