test: update *test* grammar

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
Oliver Eyton-Williams
2021-10-27 17:20:18 +02:00
committed by Mrugesh Mohapatra
parent 8538141600
commit e139fbcf13

View File

@ -26,7 +26,7 @@ describe('extractJSComments', () => {
it('should throw an informative error if the JS is invalid', () => {
expect(() => extractJSComments(someInvalidJS)).toThrow(
`extract-js-comments could not parse the code below, this challenge have invalid syntax:
`extract-js-comments could not parse the code below, this challenge has invalid syntax:
${someInvalidJS}
`