mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-28 19:43:43 +03:00
tests: move tests to parent folder
This commit is contained in:
parent
29a7f299a1
commit
04251a581a
|
@ -1 +1,5 @@
|
||||||
export * from './Schema';
|
export * from './Schema';
|
||||||
|
export * from './ObjectSchema';
|
||||||
|
export * from './OneOfSchema';
|
||||||
|
export * from './ArraySchema';
|
||||||
|
export * from './DiscriminatorDropdown';
|
||||||
|
|
|
@ -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({});
|
|
@ -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', () => {
|
Loading…
Reference in New Issue
Block a user