Jan2026 fixes (#1077)

* fix release script
* fix svgcanvas edge cases
* Update path-actions.js
* add modern js
* update deps
* Update CHANGES.md
This commit is contained in:
JFH
2026-01-10 20:57:06 -03:00
committed by GitHub
parent 9dd1349599
commit 97386d20b5
76 changed files with 11654 additions and 2416 deletions

View File

@@ -372,4 +372,40 @@ describe('utilities', function () {
assert.equal(mockCount.addToSelection, 0)
assert.equal(mockCount.addCommandToHistory, 0)
})
it('Test isNullish with null', function () {
const { isNullish } = utilities
const result = isNullish(null)
assert.ok(result === true)
})
it('Test isNullish with undefined', function () {
const { isNullish } = utilities
const result = isNullish(undefined)
assert.ok(result === true)
})
it('Test isNullish with value', function () {
const { isNullish } = utilities
const result = isNullish('test')
assert.ok(result === false)
})
it('Test isNullish with zero', function () {
const { isNullish } = utilities
const result = isNullish(0)
assert.ok(result === false)
})
it('Test isNullish with empty string', function () {
const { isNullish } = utilities
const result = isNullish('')
assert.ok(result === false)
})
it('Test isNullish with boolean false', function () {
const { isNullish } = utilities
const result = isNullish(false)
assert.ok(result === false)
})
})