unexpected-mitm
Advanced tools
Comparing version 7.7.1 to 7.7.2
@@ -287,2 +287,5 @@ /* global setImmediate, after, console */ | ||
base: 'Buffer', | ||
identify: function (obj) { | ||
return Buffer.isBuffer(obj); | ||
}, | ||
prefix: function (output) { | ||
@@ -289,0 +292,0 @@ output.code('new Buffer([', 'javascript'); |
{ | ||
"name": "unexpected-mitm", | ||
"version": "7.7.1", | ||
"version": "7.7.2", | ||
"description": "Unexpected plugin for the mitm library", | ||
@@ -5,0 +5,0 @@ "author": "Andreas Lind <andreas@one.com>", |
@@ -241,3 +241,3 @@ /*global describe, it, __dirname, beforeEach, afterEach, setTimeout, setImmediate*/ | ||
'when rejected', | ||
'to have message', function (message) { | ||
'to have message', | ||
"expected 'http://www.google.com/' with http mocked out { request: 'GET https://www.google.com/', response: 200 } to yield response 200\n" + | ||
@@ -252,3 +252,2 @@ '\n' + | ||
'HTTP/1.1 200 OK' | ||
} | ||
); | ||
@@ -273,3 +272,3 @@ }); | ||
'when rejected', | ||
'to have message', function (message) { | ||
'to have message', | ||
"expected 'http://www.google.com/' with http mocked out { request: { url: 'GET /', encrypted: true }, response: 200 } to yield response 200\n" + | ||
@@ -284,3 +283,2 @@ '\n' + | ||
'HTTP/1.1 200 OK' | ||
} | ||
); | ||
@@ -658,3 +656,3 @@ }); | ||
'// <no response>' | ||
) | ||
); | ||
} | ||
@@ -661,0 +659,0 @@ ); |
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
143158
1610