// See the License for the specific language governing permissions and
// limitations under the License.
// ========================LICENSE_END===================================
-// /
//
import { HarnessLoader } from '@angular/cdk/testing';
expect(component).toBeTruthy();
});
- it('should be added to form group with required validator', async () => {
- let ricSelector: MatSelectHarness = await loader.getHarness(MatSelectHarness.with({ selector: '#ricSelector' }));
-
- expect(formGroup.get('ricSelector')).toBeTruthy();
- expect(await ricSelector.isRequired()).toBeTruthy();
- });
-
it('no ric selected', async () => {
let ricSelector: MatSelectHarness = await loader.getHarness(MatSelectHarness.with({ selector: '#ricSelector' }));