n-assert:Node.js断言库

时间:2021-05-08 16:24:45
【文件属性】:
文件名称:n-assert:Node.js断言库
文件大小:67KB
文件格式:ZIP
更新时间:2021-05-08 16:24:45
nodejs node assert assertion JavaScript 断言 Node.js断言库。 为什么 创建该库是为了声明复杂的对象。 // Some test method returns this object let actual = { _id : '5945bf36ccb3fa0011e8533c' , name : 'John' , email : 'john@mail.com' , phones : [ { type : 'mobile' , number : '1234567' } { type : 'work' , number : '567382' } ] , account : { number : '11111' , registered : '2010-04-21' } , createdAt : '2017-02-03' } // Ned to do the f
【文件预览】:
n-assert-master
----.mocharc.json(66B)
----.eslintrc(2KB)
----.github()
--------workflows()
----license(1KB)
----test()
--------.eslintrc(192B)
--------index.js(16KB)
----.gitignore(339B)
----index.js(5KB)
----readme.md(3KB)
----package-lock.json(225KB)
----package.json(985B)
----.nvmrc(2B)
----changelog.md(3KB)

网友评论