From 3a65840c045f2e99cceb2c175c3b12baf6915b76 Mon Sep 17 00:00:00 2001 From: Khalid Zoabi Date: Sat, 6 Jul 2019 22:49:36 -0400 Subject: [PATCH] Updating test to reference yaml file (instead of json) --- src/cli/generate.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/generate.test.ts b/src/cli/generate.test.ts index 183db42..ac99c2c 100644 --- a/src/cli/generate.test.ts +++ b/src/cli/generate.test.ts @@ -17,7 +17,7 @@ test.before(async t => { test('can generate an API specification', async t => { await generate(scratchDirectory, 'sample.md') - t.true(await fse.pathExists(path.join(scratchDirectory, '.rx/sample/', 'swagger.json'))) + t.true(await fse.pathExists(path.join(scratchDirectory, '.rx/sample/', 'swagger.yaml'))) }) test.after(async t => {