diff options
Diffstat (limited to 'spec/frontend/editor/source_editor_extension_spec.js')
-rw-r--r-- | spec/frontend/editor/source_editor_extension_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/editor/source_editor_extension_spec.js b/spec/frontend/editor/source_editor_extension_spec.js index 78453aaa491..3424e71d326 100644 --- a/spec/frontend/editor/source_editor_extension_spec.js +++ b/spec/frontend/editor/source_editor_extension_spec.js @@ -16,7 +16,7 @@ describe('Editor Extension', () => { 'throws when definition = $definition and setupOptions = $setupOptions', ({ definition, setupOptions }) => { const constructExtension = () => new EditorExtension({ definition, setupOptions }); - expect(constructExtension).toThrowError(EDITOR_EXTENSION_DEFINITION_ERROR); + expect(constructExtension).toThrow(EDITOR_EXTENSION_DEFINITION_ERROR); }, ); |