fix tests
This commit is contained in:
parent
eeb7d72c73
commit
fb578eaffb
8 changed files with 22 additions and 110 deletions
|
|
@ -90,9 +90,10 @@ describe('importController', function() {
|
|||
scope.bwsurl = null;
|
||||
scope._walletPrivKey = 'Kz4CFSTgLzoYfMkt97BTBotUbZYXjMts6Ej9HbVfCf5oLmun1BXy';
|
||||
|
||||
ctrl.setSeedSource();
|
||||
ctrl.importMnemonic(fakeForm);
|
||||
should.not.exist(ctrl.error);
|
||||
scope.setSeedSource();
|
||||
|
||||
scope.importMnemonic(fakeForm);
|
||||
should.not.exist(scope.error);
|
||||
|
||||
mocks.notification.success.calledOnce.should.equal(true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue