Skip to content

Commit 3fd8e7c

Browse files
committed
App URLs updated
1 parent 483d4b3 commit 3fd8e7c

File tree

3 files changed

+9341
-13622
lines changed

3 files changed

+9341
-13622
lines changed

__tests__/util.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ test("getClubhouseURLFromPullRequest", async () => {
248248
test("getClubhouseURLFromPullRequest desc", async () => {
249249
const payload = {
250250
pull_request: {
251-
body: "Clubhouse story: https://app.clubhouse.io/org/story/12345",
251+
body: "Clubhouse story: https://app.shortcut.com/org/story/12345",
252252
number: 123,
253253
},
254254
repository: {
@@ -260,7 +260,7 @@ test("getClubhouseURLFromPullRequest desc", async () => {
260260
};
261261

262262
const url = await util.getClubhouseURLFromPullRequest(payload as any);
263-
expect(url).toEqual("https://app.clubhouse.io/org/story/12345");
263+
expect(url).toEqual("https://app.shortcut.com/org/story/12345");
264264
});
265265

266266
test("getClubhouseURLFromPullRequest comment", async () => {
@@ -281,11 +281,11 @@ test("getClubhouseURLFromPullRequest comment", async () => {
281281
.get("/repos/octocat/example/issues/123/comments")
282282
.reply(200, [
283283
{ body: "no url here, either!" },
284-
{ body: "Clubhouse story: https://app.clubhouse.io/org/story/12345" },
284+
{ body: "Clubhouse story: https://app.shortcut.com/org/story/12345" },
285285
]);
286286

287287
const url = await util.getClubhouseURLFromPullRequest(payload as any);
288-
expect(url).toEqual("https://app.clubhouse.io/org/story/12345");
288+
expect(url).toEqual("https://app.shortcut.com/org/story/12345");
289289

290290
scope.done();
291291
});

0 commit comments

Comments
 (0)