Skip to content

Commit 883c5d1

Browse files
authored
Merge pull request #20 from pactumjs/19-remove-log
19 remove log
2 parents f4bef6c + 3e697de commit 883c5d1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pactum-matchers",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"description": "collection of json matchers for contract testing",
55
"main": "./src/index.js",
66
"types": "./src/index.d.ts",

src/compare.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,12 +343,11 @@ function valueCompare(actual, expected, path) {
343343

344344
function compareWithISO(actual, rule, path) {
345345
const pattern = patterns.ISO;
346-
console.log(actual, pattern.test(actual))
347346
if (!pattern.test(actual)) {
348347
throw `Json doesn't match with "ISO" date format at "${path}" but found "${actual}"`;
349348
}
350349
}
351350

352351
module.exports = {
353352
compare
354-
};
353+
};

0 commit comments

Comments
 (0)