Skip to content

Commit 9c6a580

Browse files
change mock folder into __mock__
1 parent 04a014a commit 9c6a580

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@
119119
],
120120
"collectCoverage": true,
121121
"modulePathIgnorePatterns": [
122-
"./src/plugins/moreButtonPlugin/button/popper"
122+
"./src/plugins/moreButtonPlugin/button/popper",
123+
"./src/__mock__"
123124
]
124125
},
125126
"sideEffects": false,

src/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ describe('apply multiple actions : ', () => {
181181
});
182182
describe('lazy tabs : ', () => {
183183
const LazyPanel = function LazyPanel() {
184-
const Panel = React.lazy(() => import('./mock/mock-lazy-panel-1.js'));
184+
const Panel = React.lazy(() => import('./__mock__/mock-lazy-panel-1.js'));
185185
return (
186186
<React.Suspense fallback={<p>loading...</p>}>
187187
<Panel></Panel>

src/panel/panel.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ describe('panel structure : ', () => {
141141
let LazyPanel;
142142
if (id === '4') {
143143
LazyPanel = function LazyPanel() {
144-
const Panel = React.lazy(() => import('../mock/mock-lazy-panel-1.js'));
144+
const Panel = React.lazy(() => import('../__mock__/mock-lazy-panel-1.js'));
145145
return (
146146
<React.Suspense fallback={<p>loading...</p>}>
147147
<Panel></Panel>

0 commit comments

Comments
 (0)