File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ describe('createFeature()', () => {
244244 ` ) . toSucceed ( ) ;
245245 } ) ;
246246
247- it ( 'should allow use with untyped store.select' , ( ) => {
247+ it ( 'should not allow use with untyped store.select' , ( ) => {
248248 expectSnippet ( `
249249 const { selectCounterState, selectCount } = createFeature<{ counter: { count: number } }>({
250250 name: 'counter',
@@ -254,7 +254,9 @@ describe('createFeature()', () => {
254254 let store!: Store;
255255 const counterState$ = store.select(selectCounterState);
256256 const count$ = store.select(selectCount);
257- ` ) . toFail ( / N o o v e r l o a d m a t c h e s t h i s c a l l / ) ;
257+ ` ) . toFail (
258+ / T y p e ' R e c o r d < s t r i n g , u n k n o w n > ' i s n o t a s s i g n a b l e t o t y p e ' { c o u n t e r : { c o u n t : n u m b e r ; } ; } /
259+ ) ;
258260 } ) ;
259261
260262 it ( 'should allow use with typed store.select' , ( ) => {
You can’t perform that action at this time.
0 commit comments