workshop-angular-testing:角度测试车间

时间:2021-05-06 16:08:43
【文件属性】:
文件名称:workshop-angular-testing:角度测试车间
文件大小:972KB
文件格式:ZIP
更新时间:2021-05-06 16:08:43
testing angular workshop HTML 角度测试工作坊 这是来自的的角度单元测试研讨会,我们可以在这里保持联系: :information: :television: :bird: :laptop: 它可以在codeandbox上运行。 讲习班指南 0.骨架 。 1.隔离测试 让我们从类的演示性组件开始 1.1。 创建组件 yarn ng g @wishtack/schematics:scam sandwich-search 1.2。 添加空的规格以分享意图 xit ( ':construction: should search and display sandwiches' , ( ) => { throw new Error ( ':construction: work in progress!' ) ; } ) ; 1.3。 用注释描述测试 // @todo create the component with… // @todo che
【文件预览】:
workshop-angular-testing-master
----browserslist(429B)
----tsconfig.app.json(270B)
----package.json(2KB)
----tslint.json(2KB)
----.github()
--------workflows()
----.prettierrc(26B)
----sandbox.config.json(24B)
----jest.config.js(807B)
----tsconfig.spec.json(271B)
----angular.json(4KB)
----screenshot.png(863KB)
----src()
--------assets()
--------index.html(311B)
--------app()
--------karma.ts(642B)
--------main.ts(372B)
--------styles.css(80B)
--------polyfills.ts(3KB)
--------test-config.helper.ts(617B)
--------setup-jest.ts(859B)
--------environments()
--------favicon.ico(948B)
----tsconfig.json(543B)
----e2e()
--------protractor.conf.js(810B)
--------src()
--------tsconfig.json(214B)
----.gitignore(631B)
----tsconfig.jest.json(309B)
----karma.conf.js(1KB)
----README.md(5KB)
----yarn.lock(385KB)
----.editorconfig(246B)

网友评论