@testream/dotnet-reporter 0.5.2 → 0.5.3
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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2438,7 +2438,7 @@ async function uploadSingleArtifact(options) {
|
|
|
2438
2438
|
throw new Error(`Failed to read file: ${errorMessage}`);
|
|
2439
2439
|
}
|
|
2440
2440
|
// Create native FormData with Blob
|
|
2441
|
-
const blob = new Blob([fileBuffer], { type: attachment.contentType });
|
|
2441
|
+
const blob = new Blob([new Uint8Array(fileBuffer)], { type: attachment.contentType });
|
|
2442
2442
|
const formData = new FormData();
|
|
2443
2443
|
formData.append('testResultId', testResultId);
|
|
2444
2444
|
formData.append('ctrfAttachmentName', attachment.name);
|