Skip to content

Commit d9cbd63

Browse files
committed
add-json-attachment
Signed-off-by: PatStLouis <[email protected]>
1 parent f5175dd commit d9cbd63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function addJsonAttachment(fileName, content) {
4343
// append test meta data to the it/test this.
4444
await allure.attachment(
4545
fileName,
46-
content,
46+
JSON.stringify(content),
4747
ContentType.JSON
4848
);
4949
}

0 commit comments

Comments
 (0)