diff --git a/lib/test.js b/lib/test.js
index <HASH>..<HASH> 100644
--- a/lib/test.js
+++ b/lib/test.js
@@ -68,12 +68,8 @@ const prepare = (webpackConfig, port) => {
         devtool: '#inline-source-map',
     }, config.webpack);
 
-    if (!webpackConfig.entry || Object.keys(webpackConfig.entry).length === 0) {
-        // 如果没写的话，会默认指定一个
-        webpackConfig.entry = {
-            bundle: './index.js',
-        };
-    }
+    // Don't need to specify the entry option for karma
+    delete webpackConfig.entry;
 
     const { requireTestPath } = prepareRequireTest();
     /**
:zap: Remove the entry option in test mode