You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(forms): extract shared promiseWithResolvers test helper to private/testing
Move the duplicated `promiseWithResolvers` utility function from submit.spec.ts, debounce.spec.ts, form_field.spec.ts, interop.spec.ts, compat.spec.ts, and signal_form_control.spec.ts into `packages/private/testing/src/utils.ts` and replace all local definitions with an import from `@angular/private/testing`.
Fix call sites that resolve with a non-void value to use an explicit type parameter (e.g. `promiseWithResolvers<boolean>()`) to match the shared function's `T = void` default.
0 commit comments