Skip to content

Commit

Permalink
tests: move tests to parent folder
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Mar 26, 2018
1 parent 29a7f29 commit 04251a5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
4 changes: 4 additions & 0 deletions src/components/Schema/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export * from './Schema';
export * from './ObjectSchema';
export * from './OneOfSchema';
export * from './ArraySchema';
export * from './DiscriminatorDropdown';
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ import * as React from 'react';
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';

import { filterPropsDeep } from '../../../utils/test-utils';
import { filterPropsDeep } from '../../utils/test-utils';

import { RedocNormalizedOptions } from '../../../services/RedocNormalizedOptions';
import { OpenAPIParser, SchemaModel } from '../../../services';
import { Schema } from '../Schema';
import { ObjectSchema } from '../ObjectSchema';
import { RedocNormalizedOptions } from '../../services/RedocNormalizedOptions';
import { OpenAPIParser, SchemaModel } from '../../services';
import { Schema, ObjectSchema } from '../';
import * as simpleDiscriminatorFixture from './fixtures/simple-discriminator.json';

const options = new RedocNormalizedOptions({});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ import * as React from 'react';
import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json';

import { filterPropsDeep } from '../../../utils/test-utils';
import { filterPropsDeep } from '../../utils/test-utils';

import { RedocNormalizedOptions } from '../../../services/RedocNormalizedOptions';
import { OpenAPIParser, SchemaModel } from '../../../services';
import { Schema } from '../Schema';
import { OneOfSchema } from '../OneOfSchema';
import { RedocNormalizedOptions } from '../../services/RedocNormalizedOptions';
import { OpenAPIParser, SchemaModel } from '../../services';
import { Schema, OneOfSchema } from '../';

const options = new RedocNormalizedOptions({});
describe('Components', () => {
Expand Down

0 comments on commit 04251a5

Please sign in to comment.