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 799d729 commit 9d566feCopy full SHA for 9d566fe
test/AngularSpec.js
@@ -0,0 +1,10 @@
1
+describe('Angular', function(){
2
+ it('should fire on updateEvents', function(){
3
+ var onUpdateView = jasmine.createSpy();
4
+ var scope = angular.compile("<div></div>", { onUpdateView: onUpdateView });
5
+ expect(onUpdateView).wasNotCalled();
6
+ scope.init();
7
+ scope.updateView();
8
+ expect(onUpdateView).wasCalled();
9
+ });
10
+});
0 commit comments