Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Sep 12, 2023
1 parent 6e06613 commit 6c6ff7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/single-threaded/openapi/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ describe('rdme openapi (single-threaded)', () => {
});

describe('error handling', () => {
it('should error if no file was provided or able to be discovered', () => {
return expect(openapi.run({ key, version, workingDirectory: 'config' })).rejects.toStrictEqual(
it.only('should error if no file was provided or able to be discovered', () => {
return expect(openapi.run({ key, version, workingDirectory: 'bin' })).rejects.toStrictEqual(
new Error(
"We couldn't find an OpenAPI or Swagger definition.\n\nPlease specify the path to your definition with `rdme openapi ./path/to/api/definition`.",
),
Expand Down

0 comments on commit 6c6ff7b

Please sign in to comment.