Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
hdwivedi9R committed Jan 2, 2023
1 parent 9827d63 commit 463e565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sanitize.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ describe('Test Sanitize String', () => {
search: '?answer=<script>alert("Hello")</script>',
},
}));
expect(getSafeSearchParam('answer')).toEqual('scriptalertHello/script');
expect(getSafeSearchParam('answer')).toEqual('scriptalertHelloscript');
});
});

0 comments on commit 463e565

Please sign in to comment.