From 059613fb65d62a7701ae4efa6b4ba9b1d16191cf Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Tue, 30 Jan 2024 19:04:17 +0100 Subject: [PATCH] fixup Signed-off-by: Matteo Collina --- test/reporters.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/reporters.test.js b/test/reporters.test.js index 21b0b63..8661c48 100644 --- a/test/reporters.test.js +++ b/test/reporters.test.js @@ -54,7 +54,7 @@ describe('MarkdownReporter', async () => { output += chunk } - strictEqual(output.replace('\\', '/'), `# Summary + strictEqual(output.replaceAll('\\', '/'), `# Summary ## test/add.test.ts ### :white_check_mark: Pass * __add__, duration 100ms, line 1 @@ -98,7 +98,7 @@ describe('MarkdownReporter', async () => { output += chunk } - strictEqual(output.replace('\\', '/'), `# Summary + strictEqual(output.replaceAll('\\', '/'), `# Summary ## test/add.test.ts ### :white_check_mark: Pass * __add__, duration 100ms, line 1 @@ -164,6 +164,6 @@ describe('GithubWorkflowFailuresReporter', async () => { '::error file=test/add.test.ts,line=10::add3\n' ].join('') - strictEqual(output.replace('\\', '/'), expected) + strictEqual(output.replaceAll('\\', '/'), expected) }) })