【文件属性】:
文件名称:yeoman-test:Yeoman发电机的测试实用程序
文件大小:255KB
文件格式:ZIP
更新时间:2021-03-27 19:14:25
JavaScript
测验
Yeoman发电机的测试实用程序
安装
$ npm install --save-dev yeoman-test
安装目标环境和生成器:
$ npm install --save-dev yeoman-generator@xxx yeoman-environment@xxx
用法
用法:
describe ( 'generator test' , ( ) => {
describe ( 'test' , ( ) => {
let runResult ;
beforeEach ( async ( ) => {
runResult = await helpers
. create ( // instantiates RunContext
'namespace' ,
【文件预览】:
yeoman-test-main
----jsdoc.json(619B)
----.gitattributes(72B)
----.github()
--------FUNDING.yml(70B)
--------dependabot.yml(291B)
--------workflows()
----.vscode()
--------launch.json(1KB)
----lib()
--------adapter.js(3KB)
--------run-context.js(14KB)
--------run-result.js(9KB)
--------index.js(9KB)
----.travis.yml(73B)
----LICENSE(1KB)
----test()
--------helpers.js(9KB)
--------run-context-environment.js(5KB)
--------adapter.js(561B)
--------fixtures()
--------run-context.js(21KB)
--------run-result.js(6KB)
--------run-result-assertions.js(14KB)
----README.md(3KB)
----.prettierignore-doc(46B)
----.editorconfig(171B)
----.gitignore(41B)
----.xo-config.json(211B)
----package-lock.json(890KB)
----package.json(2KB)