mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
fix(demo): clean up some things from the value accessor commit
This commit is contained in:
@ -26,21 +26,4 @@ describe('InputsTestPageComponent', () => {
|
|||||||
it('should create', () => {
|
it('should create', () => {
|
||||||
expect(component).toBeTruthy();
|
expect(component).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('testInputOne', () => {
|
|
||||||
let input;
|
|
||||||
beforeEach(
|
|
||||||
fakeAsync(() => {
|
|
||||||
component.ngOnInit();
|
|
||||||
fixture.detectChanges();
|
|
||||||
tick();
|
|
||||||
const ionInput = fixture.debugElement.query(By.css('#inputOne'));
|
|
||||||
input = ionInput.query(By.css('input')).nativeElement;
|
|
||||||
})
|
|
||||||
);
|
|
||||||
|
|
||||||
it('should reflect changes to the input', () => {
|
|
||||||
expect(input).toBeTruthy();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
@ -12,8 +12,4 @@ export class InputsTestPageComponent implements OnInit {
|
|||||||
constructor() {}
|
constructor() {}
|
||||||
|
|
||||||
ngOnInit() {}
|
ngOnInit() {}
|
||||||
|
|
||||||
changed(evt) {
|
|
||||||
console.log(evt);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user