Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaroldi committed Dec 5, 2024
1 parent de05dc5 commit 304a15b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ describe('createEditorCore', () => {
const mockedPlugin1 = 'P1' as any;
const mockedPlugin2 = 'P2' as any;
const mockedGetDarkColor = 'DARK' as any;
const mockedTrustHtmlHandler = 'OPTIONAL TRUSTED' as any;
const mockedTrustHtmlHandler = 'TRUSTED' as any;
const mockedDisposeErrorHandler = 'DISPOSE' as any;
const mockedGenerateColorKey = 'KEY' as any;
const mockedKnownColors = 'COLORS' as any;
Expand All @@ -168,8 +168,6 @@ describe('createEditorCore', () => {
onFixUpModel: mockedOnFixUpModel,
} as any;

spyOn(domCreator, 'createTrustedHTMLHandler').and.returnValue(mockedTrustHtmlHandler);

runTest(mockedDiv, mockedOptions, {
physicalRoot: mockedDiv,
logicalRoot: mockedDiv,
Expand Down

0 comments on commit 304a15b

Please sign in to comment.