Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Jul 19, 2024
1 parent b96e33d commit d46feab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/marked.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ used extension2 walked</p>
assert.strictEqual(typeof marked.parse('test', { async: false }), 'string');
});

it('should throw and error if async is set by extension', () => {
it('should throw an error if async is set by extension', () => {
marked.use({ async: true });

assert.throws(() => marked.parse('test', { async: false }));
Expand Down

0 comments on commit d46feab

Please sign in to comment.