-
+
diff --git a/src/utils/__tests__/chromeTabs.test.ts b/src/utils/__tests__/chromeTabs.test.ts
index 2f7e4f8..c992863 100644
--- a/src/utils/__tests__/chromeTabs.test.ts
+++ b/src/utils/__tests__/chromeTabs.test.ts
@@ -106,14 +106,6 @@ describe('chromeTabs', () => {
});
});
- it('应该支持带查询参数的扩展页面', async () => {
- await openExtensionPage('options.html', { tab: 'settings', id: '123' });
-
- expect(chrome.tabs.create).toHaveBeenCalledWith({
- url: 'chrome-extension://test-extension-id/options.html?tab=settings&id=123',
- });
- });
-
it('当创建标签页失败时应记录错误', async () => {
const consoleSpy = vi.spyOn(console, 'error').mockImplementation(() => {});
(chrome.tabs.create as any).mockRejectedValue(new Error('Tab creation failed'));
diff --git a/wxt.config.ts b/wxt.config.ts
index abd383c..97afe7d 100644
--- a/wxt.config.ts
+++ b/wxt.config.ts
@@ -65,10 +65,6 @@ export default defineConfig({
side_panel: {
default_path: 'entrypoints/sidepanel/index.html',
},
- options_ui: {
- page: 'entrypoints/options/index.html',
- open_in_tab: true,
- },
},
vite: () => ({
plugins: [manualChunksForHtmlOnly()],