
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
tankjs-test
Advanced tools
Clouda Tankjs test extension
$ sudo npm install tankjs tankjs-test -g
###创建测试目录
在当前项目文件夹下创建test目录,并编写单测代码(使用mocha风格):
describe('test title', function () {
it('unit name', function (next) {
doSomething.done(next);
});
});
###执行测试
$ tank test
###加载其它组件
您可以选择性加载其它组件,如tankjs-coverage。使用--report参数来启动一个http服务:
$ tank test --cov --report=8080
访问地址:http://hostname:8080/tankjs-coverage/report.html
以查看覆盖率结果
访问 clouda+官网获得更多信息
FAQs
TANKJS-TEST ===
We found that tankjs-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.