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

Commit a60877e

Browse files
author
jwngr
committed
Added test for $firebaseUtils.VERSION
1 parent 5b31e62 commit a60877e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/unit/utils.spec.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ describe('$firebaseUtils', function () {
237237
callback(false);
238238
expect(deferred.reject).toHaveBeenCalledWith(false);
239239
});
240-
240+
241241
it('should resolve the promise if the first argument is null', function(){
242242
var result = {data:'hello world'};
243243
callback(null,result);
@@ -252,6 +252,11 @@ describe('$firebaseUtils', function () {
252252
});
253253
});
254254

255+
describe('#VERSION', function() {
256+
it('should return the version number', function() {
257+
expect($utils.VERSION).toEqual('0.0.0');
258+
});
259+
});
255260
});
256261

257262
describe('#promise (ES6 Polyfill)', function(){

0 commit comments

Comments
 (0)