| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1x 1x 1x 1x 1x 1x 1x 1x | /* global describe, it */
import assert from 'assert'
import React from 'react'
import {shallow} from 'enzyme'
import Sparkline from '../'
describe('Sparkline', () => {
it('should work', () => {
const wrapper = shallow(<Sparkline />)
assert.equal(wrapper.find('canvas').length, 1)
})
})
|