Skip to content

Commit 2310a82

Browse files
committed
fix remaining issues
1 parent 35b9962 commit 2310a82

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

modules/store/spec/runtime_checks_meta_reducers.spec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import { TestBed } from '@angular/core/testing';
22
import { Store, StoreModule, USER_RUNTIME_CHECKS } from '..';
33
import * as metaReducers from '../src/meta-reducers';
44

5-
// mock to be able to spy on meta reducer methods
6-
vi.mock('../src/meta-reducers');
7-
85
describe('USER_RUNTIME_CHECKS Token', () => {
96
it('should be possible to toggle runtime reducers via the Injection Token', () => {
107
const serializationCheckMetaReducerSpy = vi.spyOn(

modules/store/spec/store.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ describe('ngRx Store', () => {
280280
});
281281

282282
it('should implement the observer interface forwarding actions and errors to the dispatcher', () => {
283-
vi.spyOn(dispatcher, 'next');
284-
vi.spyOn(dispatcher, 'error');
283+
vi.spyOn(dispatcher, 'next').mockImplementationOnce(() => void 0);
284+
vi.spyOn(dispatcher, 'error').mockImplementationOnce(() => void 0);
285285

286286
store.next(<any>1);
287287
store.error(2);

modules/store/spec/types/selector.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('createSelector()', () => {
3737
selectTest.projector();
3838
`).toSucceed();
3939
});
40-
});
40+
}, 8_000);
4141

4242
it('should create a selector from selectors dictionary', () => {
4343
expectSnippet(`

0 commit comments

Comments
 (0)