Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e13aae1

Browse files
test(ngMock): test shallow copy of mock controller bindings
See angular#11239
1 parent 36eacb1 commit e13aae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ngMock/angular-mocksSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ describe('ngMock', function() {
17641764
module(function($controllerProvider) {
17651765
$controllerProvider.register('testCtrl', function() {
17661766
called = true;
1767-
expect(this.data).toEqual(data);
1767+
expect(this.data).toBe(data);
17681768
});
17691769
});
17701770
inject(function($controller, $rootScope) {

0 commit comments

Comments
 (0)