Skip to content

Commit

Permalink
Cleaning up test bed
Browse files Browse the repository at this point in the history
  • Loading branch information
gratcliff committed Jan 23, 2020
1 parent 61319a0 commit 2bc6f08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions __tests__/oas.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,12 @@ describe('class.Oas', () => {
expect(res).toBeUndefined();
});

it('should return a a result if found', () => {
it('should return a result if found', () => {
const oas = new Oas(petstore);
const uri = `http://petstore.swagger.io/v2/pet/1`;
const method = 'DELETE';

const res = oas.findOperation(uri, method);
console.log(JSON.stringify(res));
expect(res.logOperation).toMatchObject({
url: {
origin: 'http://petstore.swagger.io/v2',
Expand Down

0 comments on commit 2bc6f08

Please sign in to comment.