feat(FN-2625): merge fusion/fn-2625
This commit is contained in:
@@ -1059,6 +1059,19 @@ describe.skip("fn pi extension", () => {
|
||||
"api",
|
||||
"repos/acme/demo/issues?state=open&per_page=5",
|
||||
]);
|
||||
|
||||
const store = new TaskStore(tmpDir, join(tmpDir, ".fusion-global-settings"));
|
||||
await store.init();
|
||||
const tasks = await store.listTasks({ includeArchived: true });
|
||||
expect(tasks).toHaveLength(2);
|
||||
const issueOneTask = tasks.find((task) => task.sourceIssue?.issueNumber === 1);
|
||||
expect(issueOneTask?.sourceIssue).toEqual({
|
||||
provider: "github",
|
||||
repository: "acme/demo",
|
||||
externalIssueId: "1",
|
||||
issueNumber: 1,
|
||||
url: "https://github.com/acme/demo/issues/1",
|
||||
});
|
||||
});
|
||||
|
||||
it("fn_task_browse_github_issues lists issues via gh api", async () => {
|
||||
|
||||
Reference in New Issue
Block a user