![](/img/trans.png)
[英]How to run a function based on variable value which is dependent on other function in specs jasmine?
[英]Jasmine which file controls what specs are run
我以為是SpecRunner.html
但更改不會影響我的規格運行。
我的規格在spec/
,我的源代碼在src/
配置此文件:
spec/javascript/support/jasmine.yml
像這樣放置src
和spec
值(文件中的現有部分):
src_files:
- src/**/*.js
和
spec_files: 'spec/**/*[Ss]pec.js'
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.