Repository navigation
Commit a384a31
committed
test(forms): cover the deprecated disabled signatures
`hidden()` and `readonly()` have tests for their deprecated function
syntax, but `disabled()` had none for passing a function or a string
directly. Add a spec for each.
Tested with `//packages/forms/signals/test/node:test`. Both specs fail
if `disabled()` ignores a function or string passed directly.1 parent c9bf9a7 commit a384a31
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
974 | 1005 | | |
975 | 1006 | | |
976 | 1007 | | |
| |||
0 commit comments