Skip to content

Commit 1821285

Browse files
authored
DEV: Fix a flaky test (#297)
1 parent 834f54f commit 1821285

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

test/javascripts/integration/components/repo-status-test.gjs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,13 @@ module("Integration | Component | RepoStatus", function (hooks) {
9292
const self = this;
9393

9494
const store = getOwner(this).lookup("service:store");
95-
repoProps.plugin = { name: "discourse", isOfficial: true };
96-
this.set("repo", store.createRecord("repo", repoProps));
95+
this.set(
96+
"repo",
97+
store.createRecord("repo", {
98+
...repoProps,
99+
plugin: { name: "discourse", isOfficial: true },
100+
})
101+
);
97102
this.set("managerRepo", store.createRecord("repo", managerProps));
98103

99104
await render(

0 commit comments

Comments
 (0)