Skip to content

Commit

Permalink
#92
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldoakes committed Oct 13, 2023
1 parent 2ca8742 commit 01d32c2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": "cli",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/dist/cli.js",
"args": ["--trusted", "test/ply/flows/movies-api.ply.flow"],
"args": ["--trusted", "--reporter=csv", "test/ply/flows/movies-api.ply.flow"],
"preLaunchTask": "tsc: build - tsconfig.json"
}
]
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [3.2.18](https://github.com/ply-ct/ply/tree/3.2.18) (2023-10-12)
- Enhancement: Extensibility for custom reporters [\#56](https://github.com/ply-ct/ply/issues/56)
- Bug: Multiline cell value in CSV reporter [\#92](https://github.com/ply-ct/ply/issues/92)

## [3.2.17](https://github.com/ply-ct/ply/tree/3.2.17) (2023-10-02)
- Enhancement: Option to validate required flow values [\#87](https://github.com/ply-ct/ply/issues/87)
- Enhancement: Include values in run data output [\#91](https://github.com/ply-ct/ply/issues/91)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ply-ct/ply",
"version": "3.2.17",
"version": "3.2.18",
"description": "REST API Automated Testing",
"main": "dist",
"bin": {
Expand Down
2 changes: 2 additions & 0 deletions src/report/sheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export class SheetReporter implements Reporter {
val = '';
} else if (val instanceof Date) {
val = timestamp(val).replace(/,/g, '');
} else if (typeof val === 'string') {
val = `"${val.replace(/\"/g, '""')}"`;
}
row.push(`${val}`);
}
Expand Down

0 comments on commit 01d32c2

Please sign in to comment.