We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ae65fa commit e3ecdc5Copy full SHA for e3ecdc5
1 file changed
packages/angular-query-experimental/src/__tests__/inject-queries.test.ts
@@ -58,10 +58,12 @@ describe('injectQueries', () => {
58
],
59
}))
60
61
- _ = effect(() => {
62
- const snapshot = this.result().map((q) => ({ data: q.data() }))
63
- results.push(snapshot)
64
- })
+ constructor() {
+ effect(() => {
+ const snapshot = this.result().map((q) => ({ data: q.data() }))
+ results.push(snapshot)
65
+ })
66
+ }
67
}
68
69
const rendered = await render(Page, {
@@ -111,9 +113,11 @@ describe('injectQueries', () => {
111
113
}),
112
114
115
- results.push({ ...this.combined() })
116
117
118
+ results.push({ ...this.combined() })
119
120
121
122
123
0 commit comments