We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca6f5fb commit b024969Copy full SHA for b024969
src/core/compile/compile.spec.js
@@ -5827,6 +5827,7 @@ describe("$compile", () => {
5827
});
5828
5829
it("should resolve widgets after cloning in append mode", async () => {
5830
+ errors = [];
5831
$templateCache.set("/mock/divexpr", "<span>{{name}}</span>");
5832
$rootScope.greeting = "Hello";
5833
$rootScope.name = "Elvis";
@@ -5847,8 +5848,6 @@ describe("$compile", () => {
5847
5848
await wait(100);
5849
expect(e1.innerText).toEqual("HelloElvis ");
5850
expect(e2.innerText).toEqual("HelloElvis ");
-
5851
- expect(errors.length).toEqual(2);
5852
expect(errors[0]).toEqual("cError");
5853
expect(errors[1]).toEqual("lError");
5854
0 commit comments