
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
jest-lua-companion-cli
Advanced tools
致谢:
在项目根目录下创建 jest-lua-companion.config.json 文件:
{
"roots": ["ServerScriptService/TS/Runtime"],
"runCLI-options": {
"ci": true,
"clearMocks": true,
"testNamePattern": "test.*",
"testMatch": ["**/*.spec.lua"],
"verbose": true
},
"rojoSourceMapCommand": "rojo sourcemap"
}
/ 分割. 必填rojo sourcemap 的 stdout 的指令. 默认为空.注意: 仅支持windows
安装包
npm install jest-lua-companion-cli
安装插件
复制 Plugin/jest-lua-companion-plugin.server.lua 到 roblox 插件目录.
查看帮助
npx jest-lua-companion-cli -h
运行测试
npx jest-lua-companion-cli
cli选项
支持所有 jest-lua 的 CLI 选项, 比如:
npx jest-lua-companion-cli -t "testName"
只需在终端运行 jest-lua-companion-cli。如果有多个 Place 打开,会提示你选择一个。随后会输出测试结果!
你也可以将其加入 pre-commit 钩子,在提交前确保测试通过(当然,需要你的 Place 已在 Studio 中打开)。
必须配置指定FFlag后, 才能在Studio中运行测试.
npx jest-lua-companion init, 本指令会同时复制插件到 roblox 插件目录, 并进行FFlag修改.ClientSettings/ClientAppSettings.json 文件, 设置FFlagEnableLoadModule 为 true.http://127.0.0.1:28860FAQs
The npm package jest-lua-companion-cli receives a total of 1 weekly downloads. As such, jest-lua-companion-cli popularity was classified as not popular.
We found that jest-lua-companion-cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.