Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mgwalker committed Sep 9, 2024
1 parent 28edfc5 commit bda0621
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/scripts/random-responses.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ describe("random responder", () => {
{
testName: "simple string response",
responseList: ["a message"],
expected: { text: "a message", thread_ts: "thread timestamp", unfurl_links: false },
expected: {
text: "a message",
thread_ts: "thread timestamp",
unfurl_links: false,
},
},
{
testName: "string with emoji",
Expand All @@ -47,13 +51,17 @@ describe("random responder", () => {
text: "b message",
thread_ts: "thread timestamp",
icon_emoji: ":emoji:",
unfurl_links: false
unfurl_links: false,
},
},
{
testName: "message object with no name or emoji",
responseList: [{ text: "c message" }],
expected: { text: "c message", thread_ts: "thread timestamp", unfurl_links: false },
expected: {
text: "c message",
thread_ts: "thread timestamp",
unfurl_links: false,
},
},
{
testName: "message object with no name",
Expand All @@ -62,7 +70,7 @@ describe("random responder", () => {
text: "d message",
thread_ts: "thread timestamp",
icon_emoji: ":emoji:",
unfurl_links: false
unfurl_links: false,
},
},
{
Expand All @@ -72,7 +80,7 @@ describe("random responder", () => {
text: "e message",
thread_ts: "thread timestamp",
username: "bob",
unfurl_links: false
unfurl_links: false,
},
},
{
Expand All @@ -83,7 +91,7 @@ describe("random responder", () => {
thread_ts: "thread timestamp",
icon_emoji: ":emoji:",
username: "bob",
unfurl_links: false
unfurl_links: false,
},
},
];
Expand Down

0 comments on commit bda0621

Please sign in to comment.