私はRC4にRC3を更新し、今私は私のテストでは、このエラーが表示されます。Angular2 RC4:overrideDirective
@angular/[email protected]/testing/test_component_builder.js
内部
TestComponentBuilder
で
Error: overrideDirective is not supported in this implementation of TestComponentBuilder
私は方法
TestComponentBuilder.prototype.overrideDirective = function(componentType, from, to) {
throw new Error('overrideDirective is not supported in this implementation of TestComponentBuilder.');
};
のこの宣言を見ることができます質問は次のとおりです:どのように指令を上書きするのですか?彼らがdeliberatevely this issue
に述べたように何か他のものと交換することなく、機能を削除しているようですので、