You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's super strange, because when I stop debugger at that error, the variable doesn't seem to be undefined ;|.
Second, since that failed, loading CKEditorError which is needed to extend chai fails too.
This is really weird from the very beginning, because there's no difference between bundled and not bundled test. But it made me realise something different – that chai's extension is not going to work in tests with bundled editors, because the bundle contains a different instance of that class than what require.js loads.
So, I decided to not extend chain in those specific tests... but how to achieve that? I've got no idea. Bender doesn't give me the test config, so I cannot execute this code conditionally. Plus, why the code fails in the first place? :|
The text was updated successfully, but these errors were encountered:
There's an ugly issue when trying to run tests for bundled editor.
First, I get error here:
ckeditor5/dev/bender/plugins/ckeditor5/static/extensions.js
Line 67 in 4a66865
It's super strange, because when I stop debugger at that error, the variable doesn't seem to be undefined ;|.
Second, since that failed, loading
CKEditorError
which is needed to extend chai fails too.This is really weird from the very beginning, because there's no difference between bundled and not bundled test. But it made me realise something different – that chai's extension is not going to work in tests with bundled editors, because the bundle contains a different instance of that class than what require.js loads.
So, I decided to not extend chain in those specific tests... but how to achieve that? I've got no idea. Bender doesn't give me the test config, so I cannot execute this code conditionally. Plus, why the code fails in the first place? :|
The text was updated successfully, but these errors were encountered: