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 4b20e3f commit bfdb83bCopy full SHA for bfdb83b
modules/effects/testing/src/testing.ts
@@ -12,10 +12,10 @@ export function provideMockActions(
12
provide: Actions,
13
useFactory: (): Observable<any> => {
14
if (typeof factoryOrSource === 'function') {
15
- return defer(factoryOrSource);
+ return new Actions(defer(factoryOrSource));
16
}
17
18
- return factoryOrSource;
+ return new Actions(factoryOrSource);
19
},
20
};
21
0 commit comments