Skip to content

Commit

Permalink
adds missing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoputzer committed Jan 23, 2019
1 parent 36f1ff3 commit c75d9c4
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions test/index.js
Expand Up @@ -5,8 +5,68 @@ test('crypto-symbols', () => {
const { EUR } = require('..')
strictEqual(EUR, '€')
})

test('supports us dollar', () => {
const { USD } = require('..')
strictEqual(USD, '$')
})

test('supports british pound sterling', () => {
const { GBP } = require('..')
strictEqual(GBP, '£')
})

test('supports indian rupee', () => {
const { INR } = require('..')
strictEqual(INR, '₹')
})

test('supports chinese yuan', () => {
const { CNY } = require('..')
strictEqual(CNY, '¥')
})
test('supports russian ruble', () => {
const { RUB } = require('..')
strictEqual(RUB, '₽')
})

test('supports bitcoin', () => {
const { BTC } = require('..')
strictEqual(BTC, '₿')
})

test('supports bitcoin cash', () => {
const { BCH } = require('..')
strictEqual(BCH, 'Ƀ')
})

test('supports litecoin', () => {
const { LTC } = require('..')
strictEqual(LTC, 'Ł')
})

test('supports ethereum', () => {
const { ETH } = require('..')
strictEqual(ETH, 'Ξ')
})

test('supports ethereum classic', () => {
const { ETH } = require('..')
strictEqual(ETH, 'Ξ')
})

test('supports 0x', () => {
const { ZRX } = require('..')
strictEqual(ZRX, '¤')
})

test('supports doge coin', () => {
const { DOGE } = require('..')
strictEqual(DOGE, 'Ð')
})

test('supports iota', () => {
const { IOTA } = require('..')
strictEqual(IOTA, 'ι')
})
})

0 comments on commit c75d9c4

Please sign in to comment.