-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- RadialBarChart - BidirectionalBarChart
- Loading branch information
Showing
9 changed files
with
35,711 additions
and
4,277 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
__tests__/plots/__snapshots__/bidirectional-bar.spec.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`BidirectionalBarChart should render without crashed 1`] = `<div />`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`RadialBarChart should render without crashed 1`] = `<div />`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react' | ||
import { create } from 'react-test-renderer' | ||
import BidirectionalBarChart from '../../src/plots/bidirectional-bar' | ||
|
||
describe('BidirectionalBarChart', () => { | ||
test('should render without crashed', () => { | ||
const renderer = create( | ||
<BidirectionalBarChart xField="a" yField={['b', 'c']} data={[]} /> | ||
) | ||
|
||
expect(renderer.toJSON()).toMatchSnapshot() | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from 'react' | ||
import { create } from 'react-test-renderer' | ||
import RadialBarChart from '../../src/plots/radial-bar' | ||
|
||
describe('RadialBarChart', () => { | ||
test('should render without crashed', () => { | ||
const renderer = create(<RadialBarChart data={[]} />) | ||
|
||
expect(renderer.toJSON()).toMatchSnapshot() | ||
}) | ||
}) |
Oops, something went wrong.