+
+
`;
+
+ tb.createView(MyComp, {context: ctx, html: t}).then((view) => {
+ expect(() => view.detectChanges()).toThrowError(new RegExp("Cannot find value accessor"))
+ async.done();
+ });
+ }));
});
describe("validations", () => {
@@ -377,7 +389,9 @@ export function main() {
WrappedValue,
RequiredValidatorDirective,
DefaultValueAccessor,
- CheckboxControlValueAccessor]})
+ CheckboxControlValueAccessor,
+ SelectControlValueAccessor
+]})
class MyComp {
form:any;
name:string;