Skip to content

Commit

Permalink
feat: refactor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tiavina-mika committed Jun 29, 2024
1 parent 2a887cb commit aa22e15
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ import { TextEditorReadOnly } from 'mui-tiptap-editor';
2. If it is just displaying the value without using the editor, you can use this library [`tiptap-parser`](https://www.npmjs.com/package/tiptap-parser). Example: The editor is used in the back office, but the content must be displayed on the website
```tsx
<TiptapParser content={`<h1>Hello world</h1>`} />
}
```

## Customization
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// import {describe, expect, test} from '@jest/globals';
import { checkIsValidUrl, checkIsValidYoutubeUrl } from '../utils/app.utils';
import { checkIsValidUrl, checkIsValidYoutubeUrl } from '../src/utils/app.utils';

describe('check valid url', () => {
test('https url', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/TextEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const TextEditor = ({
}

return (
<div className={rootClassName}>
<div className={rootClassName} css={{ position: 'relative' }}>
{/* ---------------------------- */}
{/* ----------- label ---------- */}
{/* ---------------------------- */}
Expand Down

0 comments on commit aa22e15

Please sign in to comment.