File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
projects/testing-library/tests Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -563,6 +563,14 @@ describe('inputs and signals', () => {
563
563
// so we are purposely not calling render
564
564
565
565
const typeTests = [
566
+ async ( ) => {
567
+ // OK:
568
+ await render ( InputComponent , {
569
+ inputs : {
570
+ myName : 'OK' ,
571
+ } ,
572
+ } ) ;
573
+ } ,
566
574
async ( ) => {
567
575
// @ts -expect-error - myName is a string
568
576
await render ( InputComponent , {
@@ -571,6 +579,14 @@ describe('inputs and signals', () => {
571
579
} ,
572
580
} ) ;
573
581
} ,
582
+ async ( ) => {
583
+ // OK:
584
+ await render ( InputComponent , {
585
+ inputs : {
586
+ job : aliasedInputWithValue ( 'OK' ) ,
587
+ } ,
588
+ } ) ;
589
+ } ,
574
590
async ( ) => {
575
591
// @ts -expect-error - job is not using aliasedInputWithValue
576
592
await render ( InputComponent , {
You can’t perform that action at this time.
0 commit comments