From 9aacceb0e4549a7a72cae7cbf74ea819db184d80 Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 8 Aug 2018 14:00:50 -0700 Subject: Remove tests directory, use swagger api, make json api compliant --- packages/sra-api/test/api_test.ts | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 packages/sra-api/test/api_test.ts (limited to 'packages/sra-api/test/api_test.ts') diff --git a/packages/sra-api/test/api_test.ts b/packages/sra-api/test/api_test.ts deleted file mode 100644 index 47353ca80..000000000 --- a/packages/sra-api/test/api_test.ts +++ /dev/null @@ -1,15 +0,0 @@ -import * as chai from 'chai'; -import * as dirtyChai from 'dirty-chai'; -import { validate } from 'openapi-schema-validation'; - -import { api } from '../src/index'; - -chai.config.includeStack = true; -chai.use(dirtyChai); - -describe('SRA OpenAPI Schema', () => { - it('should be a valid OpenAPI schema', () => { - const result = validate(api, 3); - chai.expect(result.errors).to.have.length(0); - }); -}); -- cgit v1.2.3