@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.
- package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.harness.mjs +16 -11
- package/fesm2015/gravitee-ui-particles-angular.mjs +15 -10
- package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-particles-angular.mjs +15 -10
- package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
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);
|