@teamkeel/testing-runtime 0.402.1 → 0.404.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Executor.mjs +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamkeel/testing-runtime",
3
- "version": "0.402.1",
3
+ "version": "0.404.0",
4
4
  "description": "Internal package used by the generated @teamkeel/testing package",
5
5
  "exports": "./src/index.mjs",
6
6
  "typings": "src/index.d.ts",
package/src/Executor.mjs CHANGED
@@ -183,7 +183,11 @@ function parseOutputs(data) {
183
183
  ) {
184
184
  const arr = [];
185
185
  for (let item of value) {
186
- arr.push(parseOutputs(item));
186
+ if (item.key && item.size && item.filename && item.contentType) {
187
+ arr.push(File.fromDbRecord(item));
188
+ } else {
189
+ arr.push(parseOutputs(item));
190
+ }
187
191
  }
188
192
  row[key] = arr;
189
193
  } else {