Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 3b3bfd3

Browse files
committed
Remove lodash dependency, update sauce config to use mockfirebase in bower
1 parent f4a86fe commit 3b3bfd3

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tests/automatic_karma.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ module.exports = function(config) {
1717
},
1818

1919
files: [
20-
'../bower_components/lodash/dist/lodash.js',
2120
'../bower_components/angular/angular.js',
2221
'../bower_components/angular-mocks/angular-mocks.js',
2322
'../bower_components/mockfirebase/dist/mockfirebase.js',

tests/sauce_karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = function(config) {
2020
files: [
2121
'../bower_components/angular/angular.js',
2222
'../bower_components/angular-mocks/angular-mocks.js',
23-
'../bower_components/lodash/dist/lodash.js',
23+
'../bower_components/mockfirebase/dist/mockfirebase.js',
2424
'lib/**/*.js',
2525
'../dist/angularfire.js',
2626
'mocks/**/*.js',

tests/unit/firebase.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ describe('$firebase', function () {
207207
$fb.$set({hello: 'world'});
208208
ref.flush();
209209
var args = ref.ref().update.calls.mostRecent().args[0];
210-
expect(_.keys(args)).toEqual(['hello'].concat(expKeys));
210+
expect(Object.keys(args)).toEqual(['hello'].concat(expKeys));
211211
});
212212
});
213213

0 commit comments

Comments
 (0)