Skip to content

Commit

Permalink
Fix build error (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
curdopet authored May 15, 2024
1 parent fbb7922 commit fbf9a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tinymce/src/core/test/ts/browser/EditorTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ describe('browser.tinymce.core.EditorTest', () => {
assert.isFalse(editor.isDirty(), 'setDirty/isDirty');

editor.setDirty(true);
assert.equal(lastArgs?.type, 'dirty', 'setDirty/isDirty');
assert.equal((lastArgs as EditorEvent<{}> | undefined)?.type, 'dirty', 'setDirty/isDirty');
assert.isTrue( editor.isDirty(), 'setDirty/isDirty');

lastArgs = undefined;
Expand Down

0 comments on commit fbf9a20

Please sign in to comment.