remove dead dashboard api key stats internals
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled

This commit is contained in:
2026-04-21 17:26:42 +08:00
parent 7b71926c7f
commit 5c35a221dd
6 changed files with 6 additions and 108 deletions

View File

@@ -31,6 +31,7 @@ describe('useTableLoader', () => {
beforeEach(() => {
vi.useFakeTimers()
vi.clearAllMocks()
delete window.__APP_CONFIG__
})
afterEach(() => {

View File

@@ -1,4 +1,4 @@
import { afterEach, describe, expect, it } from 'vitest'
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
import {
DEFAULT_TABLE_PAGE_SIZE,
@@ -9,6 +9,10 @@ import {
} from '@/utils/tablePreferences'
describe('tablePreferences', () => {
beforeEach(() => {
delete window.__APP_CONFIG__
})
afterEach(() => {
delete window.__APP_CONFIG__
})