Skip to content

Commit

Permalink
test(rich-text-editor): fix tests for emoji plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
augustobmoura committed Jul 7, 2023
1 parent a0cc5d7 commit 46daa6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ describe('LexicalEditor', () => {
expect(mockedToolbarPlugin).toHaveBeenCalledWith(
{
disabled: true,
customEmojis: undefined,
plugins: [],
toolbarRef: {
current: null,
},
Expand All @@ -173,8 +171,6 @@ describe('LexicalEditor', () => {
expect(mockedToolbarPlugin).toHaveBeenCalledWith(
{
disabled: true,
customEmojis: undefined,
plugins: [],
toolbarRef: {
current: null,
},
Expand All @@ -195,8 +191,6 @@ describe('LexicalEditor', () => {
expect(mockedToolbarPlugin).toHaveBeenCalledWith(
{
disabled: true,
customEmojis: ['foo'],
plugins: ['link'],
toolbarRef: {
current: null,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/picasso-rich-text-editor/src/plugins/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { createPortal } from 'react-dom'
import type { LexicalNode, Klass } from 'lexical'
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'

import { registerLexicalEvents } from '../LexicalEditor/utils'
import { registerLexicalEvents } from '../LexicalEditor/utils/registerLexicalEvents'

export const RTEPluginMeta = Symbol('PicassoRTEPluginMeta')

Expand Down

0 comments on commit 46daa6d

Please sign in to comment.