Skip to content

Commit 3ec4af9

Browse files
committed
chore(parseSpec): fix bad merge
1 parent a96b659 commit 3ec4af9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/ng/parseSpec.js

+4
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,10 @@ describe('parser', function() {
761761
}));
762762

763763

764+
it('should NOT allow access to the Window or DOM returned from a function', inject(function($window, $document) {
765+
scope.getWin = valueFn($window);
766+
scope.getDoc = valueFn($document);
767+
764768
expect(function() {
765769
scope.$eval('getWin()', scope);
766770
}).toThrowMinErr(

0 commit comments

Comments
 (0)