mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
fix test
This commit is contained in:
parent
965c30bc01
commit
e3d085e5d6
@ -23,6 +23,7 @@ const GITHUB_ISSUE = {
|
||||
},
|
||||
html_url: `https://github.com/${GITHUB_ORG_REPO.org}/${GITHUB_ORG_REPO.repo}/issues/1234`,
|
||||
title: "My issue",
|
||||
assignees: []
|
||||
};
|
||||
|
||||
const GITHUB_ISSUE_CREATED_PAYLOAD = {
|
||||
@ -137,7 +138,7 @@ describe("GitHubRepoConnection", () => {
|
||||
intent.expectEventBodyContains(GITHUB_ISSUE_CREATED_PAYLOAD.issue.html_url, 0);
|
||||
intent.expectEventBodyContains(GITHUB_ISSUE_CREATED_PAYLOAD.issue.title, 0);
|
||||
});
|
||||
it.only("will handle assignees on issue creation", async () => {
|
||||
it("will handle assignees on issue creation", async () => {
|
||||
const { connection, intent } = createConnection();
|
||||
await connection.onIssueCreated({
|
||||
...GITHUB_ISSUE_CREATED_PAYLOAD,
|
||||
|
Loading…
x
Reference in New Issue
Block a user