qunit assertions extra:与qunit一起使用的有用断言的集合 源码

win_73341 13 0 ZIP 2021-02-08 17:02:38

qunit-assertions-extra 与qunit一起使用的有用断言的集合。 assert . contains ( 'Hello there!' , 'Hello' ) ; assert . contains ( [ 1 , 3 ] , 3 ) ; assert . matches ( 'Hello there!' , /Hello/ ) ; 安装 yarn add --dev qunit-assertions-extra npm install --save-dev qunit-assertions-extra 然后,在初始化qunit测试的任何地方,添加 import 'qu

用户评论
请输入评论内容
评分:
暂无评论