Skip to content

Commit 4c833c2

Browse files
committed
test(reverse): Fix broken tests
1 parent c3c9bbb commit 4c833c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/reverse.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe("reverse", function () {
3939
let promise = promiseReverse(reactText);
4040

4141
// then
42-
const expectedErrorMessage = "Unexpected token s in JSON at position 0";
42+
const expectedErrorMessage = "Unexpected token 's', \"some rando\"... is not valid JSON";
4343

4444
return promise.catch(error =>
4545
chai.expect(error)

0 commit comments

Comments
 (0)