From 0655fd072d7a820d41d3332cbd6db68379e2f15d Mon Sep 17 00:00:00 2001 From: Liqueur de Toile Date: Tue, 5 Nov 2019 12:33:43 +0100 Subject: [PATCH] feat(RequestMatcher): Add equals as alias to equal --- src/processors/BaseProcessor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/processors/BaseProcessor.js b/src/processors/BaseProcessor.js index 060d690..f1e4d2d 100644 --- a/src/processors/BaseProcessor.js +++ b/src/processors/BaseProcessor.js @@ -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);