Skip to content

Commit

Permalink
feat(RequestMatcher): Add equals as alias to equal
Browse files Browse the repository at this point in the history
  • Loading branch information
liqueurdetoile committed Nov 5, 2019
1 parent 816d934 commit 0655fd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/processors/BaseProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export default class BaseProcessor {
return this._matcher;
}

equals(expected) {
return this.equal(expected);
}

async process(request, server) {
let passed = await this._evaluate(request, server);

Expand Down

0 comments on commit 0655fd0

Please sign in to comment.