@gravitee/ui-particles-angular 5.12.0-monaco-editor-80f03f5 → 5.12.0-monaco-editor-424bcfe

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4175,16 +4175,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4175
4175
  * limitations under the License.
4176
4176
  */
4177
4177
  // Hack to replace the default gio-monaco-editor component with fake one for testing purpose.
4178
- TestBed.overrideModule(GioMonacoEditorModule, {
4179
- remove: {
4180
- declarations: [GioMonacoEditorComponent],
4181
- exports: [GioMonacoEditorComponent],
4182
- },
4183
- add: {
4184
- declarations: [GioMonacoEditorTestingComponent],
4185
- exports: [GioMonacoEditorTestingComponent],
4186
- },
4187
- });
4178
+ try {
4179
+ TestBed.overrideModule(GioMonacoEditorModule, {
4180
+ remove: {
4181
+ declarations: [GioMonacoEditorComponent],
4182
+ exports: [GioMonacoEditorComponent],
4183
+ },
4184
+ add: {
4185
+ declarations: [GioMonacoEditorTestingComponent],
4186
+ exports: [GioMonacoEditorTestingComponent],
4187
+ },
4188
+ });
4189
+ }
4190
+ catch (e) {
4191
+ // Do nothing
4192
+ }
4188
4193
  class GioMonacoEditorHarness extends ComponentHarness {
4189
4194
  constructor() {
4190
4195
  super(...arguments);