Skip to content

Commit

Permalink
feat(mocker): fix tests
Browse files Browse the repository at this point in the history
SL-72
  • Loading branch information
Chris Miaskowski committed Oct 19, 2018
1 parent c242e6c commit 27b74a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions packages/http/src/__tests__/fixtures/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ export const httpRequests: Array<IPrismInput<IHttpRequest>> = [
},
data: {
method: 'get' as IHttpMethod,
path: '/todos',
host: '',
url: { path: '/todos', baseUrl: '' },
},
},
{
Expand All @@ -162,8 +161,7 @@ export const httpRequests: Array<IPrismInput<IHttpRequest>> = [
},
data: {
method: 'get' as IHttpMethod,
path: '/todos/5',
host: '',
url: { path: '/todos/5', baseUrl: '' },
},
},
];
6 changes: 4 additions & 2 deletions packages/http/src/mocker/__tests__/HttpMocker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ describe('HttpMocker', () => {
},
data: {
method: 'get' as IHttpMethod,
path: '/test',
host: 'example.com',
url: {
path: '/test',
baseUrl: 'example.com',
},
},
};

Expand Down

0 comments on commit 27b74a3

Please sign in to comment.