Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Feb 19, 2019
1 parent d9ad52f commit 7224dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ $ test-openapi **/*.tasks.yml
```js
const { run } = require('test-openapi')

const results = await run(options)
const promise = run(options)
```

If a task failed, `run()` will reject the promise with a `TestOpenApiError`.

Options are passed as arguments. Tasks are passed as a `tasks` argument.

```js
const results = await run({
const promise = run({
tasks: ['**/*.tasks.yml'],
merge: { spec: { definition: 'openapi_schema.yml' } },
})
Expand Down

0 comments on commit 7224dcc

Please sign in to comment.