feat: 保存运输证件、报销付款和开发流程的当前实现。
补齐证书齐备、证件折算、移动用证和合同绑定,并带上报销批量发放、付款备注以及个人开发流程升级,便于继续讨论已安排计划的调整规则。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
7325a0aa52
commit
8e9536332a
202 files changed
+19200
-2054
No files matched your search
@@ -3,7 +3,8 @@ import { describe, it } from 'node:test'
|
||||
import {
|
||||
applyColumnWidthDelta,
|
||||
applyRowHeightDelta,
|
||||
clampColumnWidthsToMax
|
||||
clampColumnWidthsToMax,
|
||||
isInsideEdgeBand
|
||||
} from './tinymce-table-edge-resize.ts'
|
||||
|
||||
describe('applyColumnWidthDelta', () => {
|
||||
@@ -35,6 +36,14 @@ describe('clampColumnWidthsToMax', () => {
|
||||
})
|
||||
})
|
||||
|
||||
describe('isInsideEdgeBand', () => {
|
||||
it('stays false until the pointer is inside the edge band', () => {
|
||||
assert.equal(isInsideEdgeBand(9, true, 8), false)
|
||||
assert.equal(isInsideEdgeBand(8, false, 8), false)
|
||||
assert.equal(isInsideEdgeBand(8, true, 8), true)
|
||||
})
|
||||
})
|
||||
|
||||
describe('applyRowHeightDelta', () => {
|
||||
it('keeps row height at or above 20px', () => {
|
||||
assert.equal(applyRowHeightDelta(30, 10), 40)
|
||||
|
||||
Reference in new issue
Block a user