unexpected-mitm
Advanced tools
Comparing version 2.3.4 to 2.4.0
@@ -574,6 +574,6 @@ /* global setImmediate, after, console */ | ||
getMockResponse(responseProperties, passError(cb, function (mockResponse) { | ||
httpConversationSatisfySpec.exchanges.push(new messy.HttpExchange({ | ||
request: new messy.HttpRequest(expectedRequestProperties), | ||
httpConversationSatisfySpec.exchanges.push({ | ||
request: expectedRequestProperties, | ||
response: mockResponse | ||
})); | ||
}); | ||
cb(); | ||
@@ -580,0 +580,0 @@ })); |
{ | ||
"name": "unexpected-mitm", | ||
"version": "2.3.4", | ||
"version": "2.4.0", | ||
"description": "Unexpected plugin for the mitm library", | ||
@@ -18,4 +18,4 @@ "main": "lib/unexpectedMitm.js", | ||
"unexpected": "6.0.3", | ||
"unexpected-http": "1.8.1", | ||
"unexpected-messy": "2.11.1" | ||
"unexpected-http": "1.9.0", | ||
"unexpected-messy": "2.13.0" | ||
}, | ||
@@ -22,0 +22,0 @@ "dependencies": { |
@@ -306,3 +306,3 @@ /*global describe, it, __dirname, setImmediate, beforeEach, afterEach*/ | ||
url: 'GET /foo', | ||
headers: { Foo: /bar/ } | ||
headers: { Foo: expect.it("to match", /bar/) } | ||
}, | ||
@@ -330,3 +330,3 @@ response: 200 | ||
'// GET /foo\n' + | ||
'// Foo: /bar/\n' + | ||
"// Foo: // should satisfy expect.it('to match', /bar/)\n" + | ||
'//\n' + | ||
@@ -333,0 +333,0 @@ '// HTTP/1.1 200 OK'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
113087