Skip to content

Commit

Permalink
test: update openapi version check
Browse files Browse the repository at this point in the history
  • Loading branch information
ShookLyngs committed Jul 11, 2024
1 parent 50cd25e commit 10d699e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test('`/docs/json` - 200', async () => {
const data = response.json();

expect(response.statusCode).toBe(200);
expect(data.swagger).toBe('2.0');
expect(data.openapi).toBe('3.1.0');
expect(Object.keys(data.paths)).toStrictEqual([
'/token/generate',
'/bitcoin/v1/info',
Expand Down

0 comments on commit 10d699e

Please sign in to comment.