【文件属性】:
文件名称:twist:声明式JavaScript测试
文件大小:10KB
文件格式:ZIP
更新时间:2021-04-13 07:03:17
node test JavaScript
捻
JavaScript的声明式测试。
import { t , equal } from "twist"
export default [
t ( "array.indexOf()" , [
t ( "returns the index at which a given element is in the array" , [
equal ( [ "A" , "B" , "C" ] . indexOf ( "A" ) , 0 ) ,
] ) ,
] ) ,
]
安装
npm i twist
执照
【文件预览】:
twist-main
----bin()
--------twist.js(1KB)
----index.js(1KB)
----package.json(697B)
----.github()
--------workflows()
----test()
--------msg()
--------fixed()
--------state.test.js(435B)
--------update.test.js(957B)
--------twist.test.js(910B)
--------index.test.js(2KB)
----LICENSE.md(1KB)
----.gitignore(99B)
----lib()
--------view.js(3KB)
--------state.js(119B)
--------update.js(1KB)
----README.md(342B)