diff --git a/packages/preset-umi/templates/TestBrowser.tpl b/packages/preset-umi/templates/TestBrowser.tpl index 3a0a0b70f2ab..a7f0fef81997 100644 --- a/packages/preset-umi/templates/TestBrowser.tpl +++ b/packages/preset-umi/templates/TestBrowser.tpl @@ -6,10 +6,6 @@ import { createPluginManager } from './core/plugin'; import { getRoutes } from './core/route'; import type { Location } from 'history'; -{{#loadingComponent}} -import Loading from '{{{ loadingComponent }}}'; -{{/loadingComponent}} - {{{ importsAhead }}} const publicPath = '/'; const runtimePublicPath = false;