Release/test #1

Merged
admin merged 102 commits from release/test into main 2026-09-17 11:53:23 +08:00
2 changed files with 13 additions and 2 deletions
Showing only changes of commit 863cd97689 - Show all commits
+3 -2
View File
@@ -24,8 +24,9 @@
letter-spacing: 0;
}
button::after {
border: 0;
button::after,
uni-button::after {
border: 0 !important;
}
button:focus-visible,
+10
View File
@@ -0,0 +1,10 @@
import test from 'node:test'
import assert from 'node:assert/strict'
import { readFile } from 'node:fs/promises'
const styles = await readFile(new URL('../styles/pda.scss', import.meta.url), 'utf8')
test('H5 uni-button removes the framework pseudo-element border globally', () => {
assert.match(styles, /button::after,\s*uni-button::after\s*\{[^}]*border:\s*0 !important;/)
assert.match(styles, /button:focus-visible,[\s\S]*?outline:\s*3px solid/)
})