Skip to content

Commit

Permalink
fix(scatterplot): fix scatterplot unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed Dec 18, 2019
1 parent 8d0fe0d commit c6b01ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/scatterplot/tests/ScatterPlot.test.js
Expand Up @@ -46,7 +46,7 @@ it('should allow to customize node size', () => {
/>
)

const nodes = wrapper.find('Node')
const nodes = wrapper.find('Memo(Node)')
expect(nodes).toHaveLength(5)
nodes.forEach(node => {
expect(node.prop('size')).toBe(12)
Expand Down Expand Up @@ -77,7 +77,7 @@ it('should allow to use a varying node size', () => {
/>
)

const nodes = wrapper.find('Node')
const nodes = wrapper.find('Memo(Node)')
expect(nodes).toHaveLength(3)
expect(nodes.at(0).prop('size')).toBe(6)
expect(nodes.at(1).prop('size')).toBe(10)
Expand Down Expand Up @@ -122,7 +122,7 @@ it('should allow to disable interactivity', () => {
/>
)

const nodes = wrapper.find('Node')
const nodes = wrapper.find('Memo(Node)')
expect(nodes).toHaveLength(5)
nodes.forEach(node => {
expect(node.prop('onMouseEnter')).toBeUndefined()
Expand Down

0 comments on commit c6b01ff

Please sign in to comment.