fix misnamed graph component property

This commit is contained in:
Mike Greiling 2017-08-30 20:28:44 -05:00
parent 62a0f76516
commit dd7d691f50
1 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ describe('Graph', () => {
it('has a title', () => {
const component = createComponent({
columnData: convertedMetrics[1],
graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,
@ -33,7 +33,7 @@ describe('Graph', () => {
describe('Computed props', () => {
it('axisTransform translates an element Y position depending of its height', () => {
const component = createComponent({
columnData: convertedMetrics[1],
graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,
@ -46,7 +46,7 @@ describe('Graph', () => {
it('outterViewBox gets a width and height property based on the DOM size of the element', () => {
const component = createComponent({
columnData: convertedMetrics[1],
graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,
@ -61,7 +61,7 @@ describe('Graph', () => {
it('sends an event to the eventhub when it has finished resizing', (done) => {
const component = createComponent({
columnData: convertedMetrics[1],
graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,
@ -77,7 +77,7 @@ describe('Graph', () => {
it('has a title for the y-axis and the chart legend that comes from the backend', () => {
const component = createComponent({
columnData: convertedMetrics[1],
graphData: convertedMetrics[1],
classType: 'col-md-6',
updateAspectRatio: false,
deploymentData,