angular/packages/forms/test
Dylan Hunn 5da31d6d25 test(forms): Add more tests for FormBuilder method argument shapes. (#44452)
It is possible to pass arguments to `FormBuilder` using four different formats: value-only, boxed value, control config, and value-array. Currently, these different methods are not well-tested, especially as they interact. This PR will add tests for the variety of different argument shapes.

This was originally inspired by typed forms: when `FormBuilder` becomes typed, all these argument shapes should just work, with correct inferred types.

PR Close #44452
2021-12-14 16:11:29 -05:00
..
BUILD.bazel ci: remove saucelabs view engine tests (#43862) 2021-10-19 10:06:55 -07:00
directives_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
form_array_spec.ts refactor(forms): Make the minimum changes to the forms unit tests in order to support the typed forms PR (#43834). (#44451) 2021-12-14 16:10:08 -05:00
form_builder_spec.ts test(forms): Add more tests for FormBuilder method argument shapes. (#44452) 2021-12-14 16:11:29 -05:00
form_control_spec.ts refactor(forms): Make the minimum changes to the forms unit tests in order to support the typed forms PR (#43834). (#44451) 2021-12-14 16:10:08 -05:00
form_group_spec.ts refactor(forms): Make the minimum changes to the forms unit tests in order to support the typed forms PR (#43834). (#44451) 2021-12-14 16:10:08 -05:00
reactive_integration_spec.ts refactor(forms): Make the minimum changes to the forms unit tests in order to support the typed forms PR (#43834). (#44451) 2021-12-14 16:10:08 -05:00
template_integration_spec.ts feat(forms): allow disabling min/max validators dynamically (by setting the value to null) (#42978) 2021-09-24 10:35:31 -07:00
util.ts refactor(forms): refactor common validators used in unit tests (#38020) 2020-07-22 20:42:43 -07:00
validators_spec.ts feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
value_accessor_integration_spec.ts refactor(forms): Make the minimum changes to the forms unit tests in order to support the typed forms PR (#43834). (#44451) 2021-12-14 16:10:08 -05:00