Skip to content

Commit

Permalink
Updating test to reference yaml file (instead of json)
Browse files Browse the repository at this point in the history
  • Loading branch information
khalidx committed Jul 7, 2019
1 parent 8c2079e commit 3a65840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/generate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 3a65840

Please sign in to comment.