@@ -56,7 +56,7 @@ describe("<Module />", () => {
56
56
57
57
it ( "renders loaded module component" , ( ) => {
58
58
const store = configureStore ( [ ] ) ( {
59
- shared : {
59
+ env : {
60
60
readyModules : {
61
61
"my-feature" : true ,
62
62
} ,
@@ -72,7 +72,7 @@ describe("<Module />", () => {
72
72
73
73
it ( "renders children of loaded module" , ( ) => {
74
74
const store = configureStore ( [ ] ) ( {
75
- shared : {
75
+ env : {
76
76
readyModules : {
77
77
"my-feature" : true ,
78
78
} ,
@@ -96,7 +96,7 @@ describe("<Module />", () => {
96
96
97
97
it ( "renders nothing if module not ready" , ( ) => {
98
98
const store = configureStore ( [ ] ) ( {
99
- shared : {
99
+ env : {
100
100
readyModules : {
101
101
"my-feature" : false ,
102
102
} ,
@@ -119,7 +119,7 @@ describe("<Module />", () => {
119
119
120
120
it ( "renders nothing if there is no view" , async ( ) => {
121
121
const store = configureStore ( [ ] ) ( {
122
- shared : {
122
+ env : {
123
123
readyModules : {
124
124
"my-feature-without-view" : true ,
125
125
} ,
@@ -142,7 +142,7 @@ describe("<Module />", () => {
142
142
143
143
it ( "renders fallback while loading" , ( ) => {
144
144
const store = configureStore ( [ ] ) ( {
145
- shared : {
145
+ env : {
146
146
readyModules : {
147
147
"my-loading-feature" : false ,
148
148
} ,
@@ -166,7 +166,7 @@ describe("<Module />", () => {
166
166
167
167
it ( "renders nothing if there is no module name provided" , ( ) => {
168
168
const store = configureStore ( [ ] ) ( {
169
- shared : {
169
+ env : {
170
170
readyModules : { } ,
171
171
} ,
172
172
} ) ;
@@ -187,7 +187,7 @@ describe("<Module />", () => {
187
187
188
188
it ( "renders nothing if module is not available" , ( ) => {
189
189
const store = configureStore ( [ ] ) ( {
190
- shared : {
190
+ env : {
191
191
readyModules : { } ,
192
192
} ,
193
193
} ) ;
0 commit comments