文件名称:ember-test-selectors:在Ember.js测试中启用更好的元素选择器
文件大小:187KB
文件格式:ZIP
更新时间:2024-02-25 16:50:47
ember test test-selectors EmberJavaScript
余烬测试选择器 在测试中启用更好的元素选择器 产品特点 从用于生产构建的模板中HTML标签和组件/帮助程序调用中删除以data-test-开头的属性 从您的JS对象中删除以data-test-开头的属性,例如用于生产构建的组件类 在所有组件上自动绑定从data-test-开始的属性,以进行开发/测试构建 关于为什么有用的更多信息,请参见我们的! 兼容性 灰烬3.8或以上 Ember CLI 3.8或更高版本 Node.js 10或以上 安装 ember install ember-test-selectors 用法 现在,您可以在模板中使用data-test-*属性,该属性会自动从produ
【文件预览】:
ember-test-selectors-master
----.ember-cli(280B)
----ember-cli-build.js(707B)
----vendor()
--------ember-test-selectors()
----addon()
--------utils()
----config()
--------targets.js(167B)
--------ember-try.js(1KB)
--------environment.js(112B)
----index.js(4KB)
----.watchmanconfig(37B)
----package.json(2KB)
----.github()
--------workflows()
----node-tests()
--------.eslintrc.js(52B)
--------multidep.json(104B)
--------strip-data-test-properties-plugin-test.js(2KB)
--------fixtures()
----tests()
--------acceptance()
--------test-helper.js(228B)
--------index.html(1KB)
--------unit()
--------.eslintrc.js(178B)
--------dummy()
--------integration()
----RELEASE.md(787B)
----strip-test-selectors.js(1006B)
----LICENSE(1KB)
----testem.js(558B)
----transform-test-selector-params-to-hash-pairs.js(1KB)
----.npmignore(342B)
----.eslintrc.js(1KB)
----.gitignore(395B)
----CHANGELOG.md(24KB)
----strip-data-test-properties-plugin.js(742B)
----.dependabot()
--------config.yml(306B)
----README.md(4KB)
----yarn.lock(396KB)
----.eslintignore(290B)
----.editorconfig(368B)
----strip-data-test-properties-plugin6.js(694B)