mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(checkbox): fix typo in test selector.
This commit is contained in:
@@ -137,7 +137,7 @@ export function main() {
|
||||
it('sets the "aria-labelledby" attribute to the id of the label', function(done: () => void) {
|
||||
builder.createAsync(CheckboxController).then(function(fixture) {
|
||||
fixture.detectChanges();
|
||||
let el = fixture.debugElement.query(By.css('.mc-checkbox'));
|
||||
let el = fixture.debugElement.query(By.css('.md-checkbox'));
|
||||
let label = el.nativeElement.querySelector('label');
|
||||
expect(el.nativeElement.getAttribute('aria-labelledby')).toEqual(label.id);
|
||||
}).then(done).catch(done);
|
||||
|
||||
Reference in New Issue
Block a user