Fix tests

This commit is contained in:
Nathan Bierema 2020-09-02 13:16:31 -04:00
parent c6798d79ff
commit d233999118
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import React from 'react';
import { render, mount } from 'enzyme';
import { renderToJson } from 'enzyme-to-json';
import { ContextMenu } from '../src';
import { items } from '../src/ContextMenu/stories/data';
import { items } from '../src/ContextMenu/data';
describe('ContextMenu', function () {
it('renders correctly', () => {

View File

@ -2,7 +2,7 @@ import React from 'react';
import { shallow, mount } from 'enzyme';
import { shallowToJson } from 'enzyme-to-json';
import { Form } from '../src';
import { schema, uiSchema, formData } from '../src/Form/stories/schema';
import { schema, uiSchema, formData } from '../src/Form/schema';
describe('Form', function () {
it('renders correctly', () => {

View File

@ -2,7 +2,7 @@ import React from 'react';
import { render, mount } from 'enzyme';
import { renderToJson, mountToJson } from 'enzyme-to-json';
import { Select } from '../src';
import { options } from '../src/Select/stories/options';
import { options } from '../src/Select/options';
describe('Select', function () {
it('renders correctly', () => {

View File

@ -2,7 +2,7 @@ import React from 'react';
import { render, mount } from 'enzyme';
import { renderToJson } from 'enzyme-to-json';
import { Tabs } from '../src';
import { tabs, simple10Tabs } from '../src/Tabs/stories/data';
import { tabs, simple10Tabs } from '../src/Tabs/data';
describe('Tabs', function () {
it('renders correctly', () => {