Sha256: 4282fd1eb543c509401fc6f4ea08ebedc9f3285323e59de24da7b415c1e644e1
Contents?: true
Size: 471 Bytes
Versions: 37
Compression:
Stored size: 471 Bytes
Contents
import { filterAccounts } from '../AccountListHelper'; import { accounts, accountIDs } from '../AccountList.fixtures'; describe('AccountList helpers', () => { it('account ids filter should return all accounts where label contains "test"', () => { expect(filterAccounts(accounts, accountIDs, 'test')).toEqual(accountIDs); }); it('account ids filter should not match', () => { expect(filterAccounts(accounts, accountIDs, 'no_match')).toEqual([]); }); });
Version data entries
37 entries across 37 versions & 1 rubygems