Skip to content

Commit 781f4c9

Browse files
ezewerJacobPlaster
authored andcommitted
Add tests for WalletFx
1 parent 21e77f8 commit 781f4c9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/lib/models/currency.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const VALID_STRINGS = Object.values(WALLET_TYPES)
1212
describe('Currency model', () => {
1313
testModel({
1414
model: Currency,
15-
orderedFields: ['id', 'name', 'pool', 'explorer', 'symbol']
15+
orderedFields: ['id', 'name', 'pool', 'explorer', 'symbol', 'walletFx']
1616
})
1717

1818
testModelValidation({
@@ -22,7 +22,8 @@ describe('Currency model', () => {
2222
id: new Array(...(new Array(5))).map(() => Math.random()),
2323
name: VALID_STRINGS,
2424
pool: VALID_STRINGS,
25-
explorer: VALID_STRINGS
25+
explorer: new Array(...(new Array(5))).map(() => []),
26+
walletFx: new Array(...(new Array(5))).map(() => [])
2627
}
2728
})
2829
})

0 commit comments

Comments
 (0)