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

Commit 1a53a18

Browse files
committed
Fix declaration of module. Was getting instead of settings a new one.
1 parent 36374e6 commit 1a53a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngMock/angular-mocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ angular.mock.dump = function(object) {
996996
```js
997997
// The module code
998998
angular
999-
.module('MyApp')
999+
.module('MyApp', [])
10001000
.controller('MyController', MyController);
10011001
10021002
// The controller code

0 commit comments

Comments
 (0)