Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue committed May 7, 2024
1 parent b75115f commit 7d17396
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/helpers/prosekit/markdown.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('markdownFromHTML', () => {
test('should not escape mention handles with _', () => {
const html =
'<p>A normal handle: <span>@lens/foo</span></p>' +
'<p>A handle with underscore: <span>@lens/foo_bar</span></p>'
'<p>A handle with underscore: <span>@lens/foo_bar</span></p>';
const markdown = markdownFromHTML(html);
expect(markdown).toContain('@lens/foo');
expect(markdown).toContain('@lens/foo_bar');
Expand Down
6 changes: 5 additions & 1 deletion apps/web/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { defineConfig } from 'vitest/config';

export default defineConfig({
test: { globals: true, testTimeout: 30000, alias: { '@helpers': '/src/helpers' } },
test: {
alias: { '@helpers': '/src/helpers' },
globals: true,
testTimeout: 30000
}
});

0 comments on commit 7d17396

Please sign in to comment.