-
Notifications
You must be signed in to change notification settings - Fork 24.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(forms): move value accessor tests into own spec #18356
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
import {By} from '@angular/platform-browser/src/dom/debug/by'; | ||
import {getDOM} from '@angular/platform-browser/src/dom/dom_adapter'; | ||
import {dispatchEvent} from '@angular/platform-browser/testing/src/browser_util'; | ||
import {timer} from 'rxjs/observable/timer'; | ||
import {_do} from 'rxjs/operator/do'; | ||
import {MyInput, MyInputForm} from './value_accessor_integration_spec'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these used in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The diff is misleading because I'm removing one of the usages, but the symbols are still used on line 480: https://github.com/kara/angular/blob/c52e8e9ca1e34ec7e320888e988495d86a0d3377/packages/forms/test/reactive_integration_spec.ts#L481
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This PR simply cleans up the organization of the forms tests so they're easier to scan. The integration specs were getting way too long to use effectively, so there is now a separate value accessor integration spec.