Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/effects/spec/effect_sources.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('EffectSources', () => {
effectSources = TestBed.inject(EffectSources);
effectsErrorHandler = TestBed.inject(EFFECTS_ERROR_HANDLER);

vi.spyOn(mockErrorReporter, 'handleError');
vi.spyOn(mockErrorReporter, 'handleError').mockImplementation(() => void 0);
});

it('should have an "addEffects" method to push new source instances', () => {
Expand Down
2 changes: 1 addition & 1 deletion modules/effects/spec/types/effect_creator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,4 @@ describe('createEffect()', () => {
);
});
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/effects/spec/types/effects_module.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ describe('EffectsModule()', () => {
`).toFail();
});
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/effects/spec/types/of_type.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ describe('ofType()', () => {
`).toInfer('effect', 'Observable<ActionA>');
});
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/effects/spec/types/provide_effects.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ describe('provideEffects()', () => {
provideEffects(nonFnEffectsRecord, fnEffectsRecord, ClassEffects);
`).toFail();
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/entity/spec/types/entity_selectors.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ describe('EntitySelectors', () => {
>;
`).toInfer('result', 'true');
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/entity/spec/types/entity_state.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ describe('EntityState Types', () => {
`).toSucceed();
});
});
});
}, 8_000);
3 changes: 2 additions & 1 deletion modules/eslint-plugin/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export default defineConfig(({ mode }) => {
environment: 'jsdom',
setupFiles: ['test-setup.ts'],
include: ['**/*.spec.ts'],
reporters: ['default']
reporters: ['default'],
testTimeout: 8_000,
},
define: {
'import.meta.vitest': mode !== 'production',
Expand Down
2 changes: 1 addition & 1 deletion modules/operators/spec/types/tap-response.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ describe('tapResponse types', () => {

testWith(expectSnippet);
});
});
}, 8_000);
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ describe('getRouterSelectors', () => {
'MemoizedSelector<State, string, (s1: string) => string>'
);
});
});
}, 8_000);

describe('RouterStateSelectors', () => {
const expectSnippet = expecter(
Expand Down Expand Up @@ -152,4 +152,4 @@ describe('RouterStateSelectors', () => {
>;
`).toInfer('result', 'true');
});
});
}, 8_000);
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ describe('entityConfig', () => {
});
`).toFail(/No overload matches this call/);
});
});
}, 8_000);
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ describe('withEntities', () => {

expectSnippet(snippet).toSucceed();
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/signals/spec/types/patch-state.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ describe('patchState', () => {
/Property 'numbers' is missing in type '{ count: number; foo: string; }'/
);
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/signals/spec/types/signal-state.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,4 +370,4 @@ describe('signalState', () => {
patchState(state, (state) => ({ user: { ...state.user, age: '30' } }));
`).toFail(/Type 'string' is not assignable to type 'number'/);
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/signals/spec/types/signal-store.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1121,4 +1121,4 @@ describe('signalStore', () => {
`).toFail();
});
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/signals/spec/types/with-computed.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ describe('withComputed', () => {
'DeepSignal<{ name: string; address: { street: string; city: string; }; }>'
);
});
});
}, 8_000);
2 changes: 1 addition & 1 deletion modules/signals/spec/types/with-linked-state.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,4 @@ describe('withLinkedState', () => {
result.toInfer('baz', 'Signal<string>');
result.toInfer('qux', 'DeepSignal<{ x: number; }>');
});
});
}, 8_000);
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ describe('unprotected', () => {
'{ count: Signal<number>; [STATE_SOURCE]: { count: WritableSignal<number>; }; }'
);
});
});
}, 8_000);
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

exports[`Login Page should compile 1`] = `
<bc-login-page
error$={[Function Store]}
pending$={[Function Store]}
store={[Function MockStore]}
error$={[Function _Store]}
pending$={[Function _Store]}
store={[Function _MockStore]}
>
<bc-login-form>
<mat-card
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

exports[`Collection Page should compile 1`] = `
<bc-collection-page
books$={[Function Store]}
store={[Function MockStore]}
books$={[Function _Store]}
store={[Function _MockStore]}
>
<mat-card
class="mat-mdc-card mdc-card"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

exports[`Find Book Page should compile 1`] = `
<bc-find-book-page
books$={[Function Store]}
error$={[Function Store]}
loading$={[Function Store]}
searchQuery$={[Function Store]}
store={[Function MockStore]}
books$={[Function _Store]}
error$={[Function _Store]}
loading$={[Function _Store]}
searchQuery$={[Function _Store]}
store={[Function _MockStore]}
>
<bc-book-search>
<mat-card
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

exports[`Selected Book Page should compile 1`] = `
<bc-selected-book-page
book$={[Function Store]}
isSelectedBookInCollection$={[Function Store]}
store={[Function MockStore]}
book$={[Function _Store]}
isSelectedBookInCollection$={[Function _Store]}
store={[Function _MockStore]}
>
<bc-book-detail>
</bc-book-detail>
Expand Down
Loading