mirror of
https://github.com/Cccc-owo/CheckInApp.git
synced 2026-06-17 05:56:29 +00:00
chore: remove useless test
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vue-tsc -b && vite build",
|
"build": "vue-tsc -b && vite build",
|
||||||
"preview": "vite preview",
|
"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",
|
"typecheck": "vue-tsc -b",
|
||||||
"lint": "eslint . --fix",
|
"lint": "eslint . --fix",
|
||||||
"lint:check": "eslint .",
|
"lint:check": "eslint .",
|
||||||
|
|||||||
@@ -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')
|
|
||||||
})
|
|
||||||
Reference in New Issue
Block a user