diff --git a/test/multi.spec/api.v1.yaml b/test/api.v1.yaml similarity index 100% rename from test/multi.spec/api.v1.yaml rename to test/api.v1.yaml diff --git a/test/multi.spec/api.v2.yaml b/test/api.v2.yaml similarity index 100% rename from test/multi.spec/api.v2.yaml rename to test/api.v2.yaml diff --git a/test/multi.spec/multi.spec.spec.ts b/test/multi.spec.spec.ts similarity index 98% rename from test/multi.spec/multi.spec.spec.ts rename to test/multi.spec.spec.ts index 526dce4b..f7ee0ee9 100644 --- a/test/multi.spec/multi.spec.spec.ts +++ b/test/multi.spec.spec.ts @@ -36,7 +36,7 @@ function createServer() { const path = require('path'); const bodyParser = require('body-parser'); const http = require('http'); - const OpenApiValidator = require('../../src'); + const OpenApiValidator = require('../src'); const app = express(); app.use(bodyParser.urlencoded({ extended: false })); diff --git a/test/query.serialization.ts b/test/query.serialization.ts index 78435907..019e55ab 100644 --- a/test/query.serialization.ts +++ b/test/query.serialization.ts @@ -1,12 +1,10 @@ -import * as path from 'path'; -import * as express from 'express'; import { expect } from 'chai'; +import * as express from 'express'; +import * as path from 'path'; import * as request from 'supertest'; import { createApp } from './common/app'; -import * as packageJson from '../package.json'; -import { log } from 'console'; -describe.only('styles', () => { +describe('styles', () => { let app = null; before(async () => { const apiSpec = path.join('test', 'resources', 'query.serialization.yaml');