2024-07-23 16:50:12 +00:00
|
|
|
/*!
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google LLC All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import {ComponentFixture, TestBed} from '@angular/core/testing';
|
|
|
|
|
|
|
|
|
|
import {Select} from './select.component';
|
|
|
|
|
|
|
|
|
|
describe('Select', () => {
|
|
|
|
|
let component: Select;
|
|
|
|
|
let fixture: ComponentFixture<Select>;
|
|
|
|
|
|
2026-01-04 04:23:19 +00:00
|
|
|
beforeEach(async () => {
|
2024-07-23 16:50:12 +00:00
|
|
|
fixture = TestBed.createComponent(Select);
|
|
|
|
|
component = fixture.componentInstance;
|
2024-11-11 15:36:23 +00:00
|
|
|
|
|
|
|
|
// Sets the required inputs
|
|
|
|
|
fixture.componentRef.setInput('selectId', 'id');
|
|
|
|
|
fixture.componentRef.setInput('name', 'name');
|
|
|
|
|
fixture.componentRef.setInput('options', []);
|
|
|
|
|
|
2026-01-04 04:23:19 +00:00
|
|
|
await fixture.whenStable();
|
2024-07-23 16:50:12 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
it('should create', () => {
|
|
|
|
|
expect(component).toBeTruthy();
|
|
|
|
|
});
|
|
|
|
|
});
|