
Research
wget to Wipeout: Malicious Go Modules Fetch Destructive Payload
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
@mlz/cli-plugin-e2e-test
Advanced tools
yuumi add @mlz/cli-plugin-e2e-test
npm run test:e2e-open
(命令行中跑的测试默认不开启屏幕快照和视频记录)
测试全部用例:
npm run test:e2e-run
测试指定模块用例:
npm run test:e2e-run [moduleName]
(moduleName 为'cypress/integration'文件夹下的文件夹名称)
测试开启屏幕快照:
npm run test:e2e-run-s
测试开启视频记录:
npm run test:e2e-run-r
├── cypress // e2e测试相关
├── integration // 存放测试用例
| └── index // index模块的测试用例
| | └── xxx.spec.js // xxx功能的测试用例文件
└── plugins // cypress的扩展插件
└── support // cypress的一些全局生效的支持/自定义方法
└── fixtures // 用于存放一些资源或数据(可当做测试数据库)
└── screenshots // 用于存放屏幕快照(如果测试时开启快照功能,在测试用例不通过时会自动进行屏幕快照,并存生成该文件进行存放)
└── video // 用于存放video(如果测试时开启video功能,则会生成video和该文件夹进行存放)
注意:.gitignore文件应该加上上述screenshots和video文件夹
文件夹详细功能可查阅cypress官网:
https://docs.cypress.io/guides/overview/why-cypress.html#In-a-nutshell
FAQs
`yuumi add @mlz/cli-plugin-e2e-test`
We found that @mlz/cli-plugin-e2e-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.