aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/test/api_test.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-09 05:00:50 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-09 05:00:50 +0800
commit9aacceb0e4549a7a72cae7cbf74ea819db184d80 (patch)
tree059e0de4b423d78e50d6175a86d11fd541ab0244 /packages/sra-api/test/api_test.ts
parentc9e1b7c5dc4eebf447fdc97568f08db0e2546904 (diff)
downloaddexon-sol-tools-9aacceb0e4549a7a72cae7cbf74ea819db184d80.tar
dexon-sol-tools-9aacceb0e4549a7a72cae7cbf74ea819db184d80.tar.gz
dexon-sol-tools-9aacceb0e4549a7a72cae7cbf74ea819db184d80.tar.bz2
dexon-sol-tools-9aacceb0e4549a7a72cae7cbf74ea819db184d80.tar.lz
dexon-sol-tools-9aacceb0e4549a7a72cae7cbf74ea819db184d80.tar.xz
dexon-sol-tools-9aacceb0e4549a7a72cae7cbf74ea819db184d80.tar.zst
dexon-sol-tools-9aacceb0e4549a7a72cae7cbf74ea819db184d80.zip
Remove tests directory, use swagger api, make json api compliant
Diffstat (limited to 'packages/sra-api/test/api_test.ts')
-rw-r--r--packages/sra-api/test/api_test.ts15
1 files changed, 0 insertions, 15 deletions
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);
- });
-});