Skip to content

Commit

Permalink
fix: add more tests to fix code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
steff456 committed Aug 14, 2023
1 parent df8f433 commit 9c3ea43
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,8 @@ tape( 'the function reverses the Unicode code point of a provided string (surrog
out = reverse( 'foo\uD834bar\uDF06baz' );
t.strictEqual( out, 'zab\uDF06rab\uD834oof', 'returns expected value' );

out = reverse( 'foo\uD834bar\uDF06\uD834' );
t.strictEqual( out, '\uD834\uDF06rab\uD834oof', 'returns expected value' );

t.end();
});

0 comments on commit 9c3ea43

Please sign in to comment.