tests: move tests to parent folder

This commit is contained in:
Roman Hotsiy 2018-03-26 22:33:46 +03:00
parent 29a7f299a1
commit 04251a581a
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
5 changed files with 12 additions and 10 deletions

View File

@ -1 +1,5 @@
export * from './Schema'; export * from './Schema';
export * from './ObjectSchema';
export * from './OneOfSchema';
export * from './ArraySchema';
export * from './DiscriminatorDropdown';

View File

@ -2,12 +2,11 @@ import * as React from 'react';
import { shallow } from 'enzyme'; import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json'; import toJson from 'enzyme-to-json';
import { filterPropsDeep } from '../../../utils/test-utils'; import { filterPropsDeep } from '../../utils/test-utils';
import { RedocNormalizedOptions } from '../../../services/RedocNormalizedOptions'; import { RedocNormalizedOptions } from '../../services/RedocNormalizedOptions';
import { OpenAPIParser, SchemaModel } from '../../../services'; import { OpenAPIParser, SchemaModel } from '../../services';
import { Schema } from '../Schema'; import { Schema, ObjectSchema } from '../';
import { ObjectSchema } from '../ObjectSchema';
import * as simpleDiscriminatorFixture from './fixtures/simple-discriminator.json'; import * as simpleDiscriminatorFixture from './fixtures/simple-discriminator.json';
const options = new RedocNormalizedOptions({}); const options = new RedocNormalizedOptions({});

View File

@ -2,12 +2,11 @@ import * as React from 'react';
import { shallow } from 'enzyme'; import { shallow } from 'enzyme';
import toJson from 'enzyme-to-json'; import toJson from 'enzyme-to-json';
import { filterPropsDeep } from '../../../utils/test-utils'; import { filterPropsDeep } from '../../utils/test-utils';
import { RedocNormalizedOptions } from '../../../services/RedocNormalizedOptions'; import { RedocNormalizedOptions } from '../../services/RedocNormalizedOptions';
import { OpenAPIParser, SchemaModel } from '../../../services'; import { OpenAPIParser, SchemaModel } from '../../services';
import { Schema } from '../Schema'; import { Schema, OneOfSchema } from '../';
import { OneOfSchema } from '../OneOfSchema';
const options = new RedocNormalizedOptions({}); const options = new RedocNormalizedOptions({});
describe('Components', () => { describe('Components', () => {