settings: fix angular test 3
This commit is contained in:
parent
258ae5c79c
commit
7277d29965
1 changed files with 0 additions and 13 deletions
|
|
@ -5,19 +5,6 @@
|
||||||
//
|
//
|
||||||
var sinon = require('sinon');
|
var sinon = require('sinon');
|
||||||
|
|
||||||
beforeEach(function() {
|
|
||||||
config.unitToSatoshi = 100;
|
|
||||||
config.unitName = 'bits';
|
|
||||||
});
|
|
||||||
|
|
||||||
describe('Check config', function() {
|
|
||||||
|
|
||||||
it('unit should be set to BITS in config.js', function() {
|
|
||||||
expect(config.unitToSatoshi).to.equal(100);
|
|
||||||
expect(config.unitName).to.equal('bits');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
describe("Unit: Walletfactory Service", function() {
|
describe("Unit: Walletfactory Service", function() {
|
||||||
beforeEach(angular.mock.module('copayApp.services'));
|
beforeEach(angular.mock.module('copayApp.services'));
|
||||||
it('should contain a walletFactory service', inject(function(walletFactory) {
|
it('should contain a walletFactory service', inject(function(walletFactory) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue