update .gitignore

This commit is contained in:
2025-03-14 23:44:26 +08:00
parent 1b1942fde6
commit d423f6786b
6241 changed files with 718051 additions and 15 deletions

26
node_modules/vizion/test/unit/helper.test.js generated vendored Normal file
View File

@@ -0,0 +1,26 @@
var helper = require("../../lib/helper.js");
var should = require("should");
describe('Helper', function () {
const fixt = {
a : {
b : {
c : 'result'
}
}
}
describe('.get', () => {
should(helper.get(fixt, 'a.b.c')).eql('result')
})
describe('.get null', () => {
should(helper.get(null, 'a.b.c')).eql(null)
})
describe('.get null', () => {
should(helper.get(fixt, 'a.b.d')).eql(undefined)
})
})