mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
33 lines
962 B
TypeScript
33 lines
962 B
TypeScript
|
|
// import { Select } from '../select';
|
|
// import { mockApp, mockConfig, mockDeepLinker, mockElementRef, mockRenderer, mockItem, mockForm } from '../../../util/mock-providers';
|
|
// import { commonInputTest } from '../../../util/input-tester';
|
|
|
|
describe('Select', () => {
|
|
|
|
it('should pass common test', () => {
|
|
|
|
// TODO: needs to be enabled in v4
|
|
// const app = mockApp();
|
|
// const config = mockConfig();
|
|
// const deepLinker = mockDeepLinker();
|
|
// const elementRef = mockElementRef();
|
|
// const renderer = mockRenderer();
|
|
// const item: any = mockItem();
|
|
// const form = mockForm();
|
|
// const select = new Select(app, form, config, elementRef, renderer, item, null, deepLinker);
|
|
|
|
// commonInputTest(select, {
|
|
// defaultValue: [],
|
|
// corpus: [
|
|
// [['hola'], ['hola']],
|
|
// [null, []],
|
|
// ['hola', 'hola'],
|
|
// [['hola', 'adios'], ['hola', 'adios']]
|
|
// ]
|
|
// });
|
|
|
|
});
|
|
|
|
});
|