Skip to content
This repository was archived by the owner on Apr 15, 2020. It is now read-only.

Commit 1a7b2cb

Browse files
committed
Added isolate scope definition for snapscroll mock
Ensures that the fitWindowHeight tests fail if one adds an isolate scope for the fitWindowHeight directive.
1 parent 455c8cd commit 1a7b2cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/spec/directives/fitWindowHeight.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ describe('Directive: fitWindowHeight', function () {
1313
$provide.factory('snapscrollDirective', function () {
1414
// very important to return an array of directive definitions!! that's how angular works
1515
return [{
16+
scope: {},
1617
restrict: 'A',
1718
name: 'snapscroll',
1819
controller: function () {

0 commit comments

Comments
 (0)