Skip to content

Commit

Permalink
updated mocha, removed duplicate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Nederhoff committed Jul 29, 2020
1 parent bf9c379 commit e053345
Show file tree
Hide file tree
Showing 3 changed files with 910 additions and 67 deletions.
19 changes: 0 additions & 19 deletions lib/builders/request-pattern-builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ describe('RequestPatternBuilder', () => {
expect(actual).to.shallowDeepEqual(expected);
});

it('should map forRequestMatchingUrl properly', () => {
const expected = {
url: '/sample/path',
method: 'ANY'
};
const actual = forRequestMatchingUrl("/sample/path").build();
expect(actual).to.shallowDeepEqual(expected);
});


it('should map requestFor with urlPathEqualTo properly', () => {
const expected = {
urlPath: '/sample/path',
Expand All @@ -94,15 +84,6 @@ describe('RequestPatternBuilder', () => {
expect(actual).to.shallowDeepEqual(expected);
});

it('should map requestFor with urlPathEqualTo properly', () => {
const expected = {
url: '/sample/path',
method: 'TRACE'
};
const actual = requestFor(RequestMethod.TRACE, urlEqualTo("/sample/path")).build();
expect(actual).to.shallowDeepEqual(expected);
});

it('should map custom request properly', () => {
const expected = {
"cookies": {
Expand Down
Loading

0 comments on commit e053345

Please sign in to comment.