Fix showing QR code on address list when it shouldn't
This commit is contained in:
parent
6ea9831913
commit
cef5b72557
3 changed files with 8 additions and 2 deletions
|
|
@ -75,6 +75,11 @@ describe('Unit: Testing Filters', function() {
|
|||
expect(removeEmpty([]).length).to.equal(0);
|
||||
}));
|
||||
|
||||
it('should work with undefined', inject(function($filter) {
|
||||
var removeEmpty = $filter('removeEmpty');
|
||||
expect(removeEmpty(undefined).length).to.equal(0);
|
||||
}));
|
||||
|
||||
it('should filter empty addresses from other copayers', inject(function($filter) {
|
||||
var removeEmpty = $filter('removeEmpty');
|
||||
var addresses = [{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue