Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
test markdown support
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbuck committed Apr 29, 2020
1 parent daf2e9e commit aa84fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json-reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class MyCustomReporter {

result.failureMessages.forEach(failureMessages => {
const newLine = "%0A";
const message = failureMessages.replace(/\n/g, newLine);
const message = ['**bold**', '_italic_', '# h1', '## h2'].join(newLine);
const captureGroup = message.match(/:([0-9]+):([0-9]+)/);

if (!captureGroup) {
Expand Down

0 comments on commit aa84fac

Please sign in to comment.