Refactor: 모킹 테스트 가능한 코드 주석으로 추가
This commit is contained in:
parent
8e74ef4428
commit
478d47be80
@ -1,3 +1,30 @@
|
||||
// import React from 'react';
|
||||
// import ReactDOM from 'react-dom/client';
|
||||
// import App from './App.tsx';
|
||||
// import './index.css';
|
||||
|
||||
// async function enableMocking() {
|
||||
// if (!import.meta.env.DEV) {
|
||||
// return;
|
||||
// }
|
||||
|
||||
// try {
|
||||
// const { worker } = await import('./mocks/browser.ts');
|
||||
// await worker.start();
|
||||
// console.log('[MSW] Mocking enabled. Service Worker is running.');
|
||||
// } catch (error) {
|
||||
// console.error('[MSW] Failed to start the Service Worker:', error);
|
||||
// }
|
||||
// }
|
||||
|
||||
// enableMocking().then(() => {
|
||||
// ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
// <React.StrictMode>
|
||||
// <App />
|
||||
// </React.StrictMode>
|
||||
// );
|
||||
// });
|
||||
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import App from './App.tsx';
|
||||
|
Loading…
Reference in New Issue
Block a user