@metlo/testing
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -29,3 +29,4 @@ "use strict"; | ||
let res = null; | ||
let err = null; | ||
let err = undefined; | ||
let errStack = undefined; | ||
try { | ||
@@ -36,2 +37,3 @@ res = yield (0, request_1.makeRequest)(step.request, ctx); | ||
err = e.message; | ||
errStack = e.stack; | ||
} | ||
@@ -68,2 +70,3 @@ const host = new URL(step.request.url).host; | ||
err: err, | ||
errStack: errStack, | ||
}; | ||
@@ -70,0 +73,0 @@ } |
@@ -546,2 +546,3 @@ import { z } from "zod"; | ||
err?: string; | ||
errStack?: string; | ||
assertions: boolean[]; | ||
@@ -548,0 +549,0 @@ res?: StepResponse; |
{ | ||
"name": "@metlo/testing", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
90870
1615