Skip to content

Commit 0fc4845

Browse files
rename mock folder at src into __mock__
1 parent 9faecbb commit 0fc4845

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

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)