chore: remove useless test

This commit is contained in:
2026-05-05 19:39:04 +08:00
parent 06d2e6d2f9
commit 1093923a18
2 changed files with 1 additions and 10 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"dev": "vite",
"build": "vue-tsc -b && vite build",
"preview": "vite preview",
"test": "node --test --experimental-strip-types src/app/theme.test.ts src/components/templates/template-config.test.ts src/utils/format.test.ts src/views/dashboard-license.test.ts",
"test": "node --test --experimental-strip-types src/app/theme.test.ts src/components/templates/template-config.test.ts src/views/dashboard-license.test.ts",
"typecheck": "vue-tsc -b",
"lint": "eslint . --fix",
"lint:check": "eslint .",
-9
View File
@@ -1,9 +0,0 @@
import assert from 'node:assert/strict'
import test from 'node:test'
import { statusLabel, statusTone } from './format.ts'
test('formats token_expired status for check-in records', () => {
assert.equal(statusLabel('token_expired'), '凭证过期')
assert.equal(statusTone('token_expired'), 'danger')
assert.equal(statusLabel('token-expired'), 'token-expired')
})