fix(system): allow wrapping components both from presets and plugins (#9919)
Refs #7232
This commit is contained in:
@@ -187,14 +187,11 @@ describe("wrapComponents", () => {
|
||||
expect(children.eq(1).text()).toEqual("WOW much data")
|
||||
})
|
||||
|
||||
it("should wrap correctly when registering multiple plugins targeting the same component", function () {
|
||||
it("should wrap component correctly when performing subsequent plugin registering targeting the same component", function () {
|
||||
|
||||
// Given
|
||||
|
||||
const mySystem = new System({
|
||||
pluginsOptions: {
|
||||
pluginLoadType: "chain"
|
||||
},
|
||||
plugins: [
|
||||
() => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user