From cd8b72b080caac73b7b95de0ad39eac5352ac274 Mon Sep 17 00:00:00 2001 From: Ferdi Koomen Date: Sat, 23 Nov 2019 11:04:57 +0100 Subject: [PATCH] - Added compile step in runner and cleanup of imports in test --- test/index.js | 2 ++ test/index.spec.js | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index 3c09779c..f62fb26c 100644 --- a/test/index.js +++ b/test/index.js @@ -13,3 +13,5 @@ OpenAPI.generate( OpenAPI.Language.JAVASCRIPT, OpenAPI.HttpClient.XHR, ); + +OpenAPI.compile('./test/result/v2/typescript/'); diff --git a/test/index.spec.js b/test/index.spec.js index 08ab9f30..a570f560 100644 --- a/test/index.spec.js +++ b/test/index.spec.js @@ -1,6 +1,5 @@ const OpenAPI = require('../dist'); const glob = require('glob'); -const path = require('path'); const fs = require('fs'); describe('generation', () => {