echoapi-converter 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5214,7 +5214,11 @@ class ThunderToApipost {
|
|
|
5214
5214
|
data: `
|
|
5215
5215
|
pm.test("Schema is valid", function () {
|
|
5216
5216
|
${str}
|
|
5217
|
-
|
|
5217
|
+
let tmpData = {};
|
|
5218
|
+
try {
|
|
5219
|
+
tmpData = JSON.parse(data);
|
|
5220
|
+
} catch (e) {}
|
|
5221
|
+
pm.expect(tv4.validate(tmpData, ${test.value})).to.be.true;
|
|
5218
5222
|
});`,
|
|
5219
5223
|
};
|
|
5220
5224
|
}
|