Skip to content
This repository has been archived by the owner on Dec 12, 2017. It is now read-only.

有karma搭建的工程例子吗 #153

Closed
yelingfeng opened this issue Feb 24, 2017 · 8 comments
Closed

有karma搭建的工程例子吗 #153

yelingfeng opened this issue Feb 24, 2017 · 8 comments
Labels

Comments

@yelingfeng
Copy link

cooking 怎么配置karma.config.js

@QingWei-Li
Copy link
Contributor

https://github.com/cookingjs/slush-cooking-vue

用自带的脚手架可以选择生成单元测试部分的,但是之前有 bug,升级一下脚手架就好了

@yelingfeng
Copy link
Author

image
启动报错

@QingWei-Li
Copy link
Contributor

cooking-karma 也要升级,里面的 karma-webpack 要最新的

@yelingfeng
Copy link
Author

cooking里的karma始终0.13 也不更新啊 我去根目录手动更新得

@QingWei-Li
Copy link
Contributor

目前版本是 0.2.0,那你 cooking remove karmacooking import karma

@yelingfeng
Copy link
Author

image
babel-polyfill es6-shim都不好使 崩溃了

@QingWei-Li QingWei-Li added the bug label Feb 24, 2017
@QingWei-Li
Copy link
Contributor

那我抽空改下配置吧,这配置还是 webpack 1 的 一直没空改

@yelingfeng
Copy link
Author

大神什么时候会更新

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants