diff --git a/README.md b/README.md
index bfd7453..546db7b 100644
--- a/README.md
+++ b/README.md
@@ -20,13 +20,11 @@
Install
-```bash
-npm i -D karma-webpack@next
-```
+npm `npm i -D karma-webpack@next`
-Usage
+yarn `yarn add -D karma-webpack@next`
-**Note: it's very important that you include `webpack` as a framework, otherwise your tests will not run.**
+Usage
**karma.conf.js**
```js
@@ -34,7 +32,7 @@ module.exports = (config) => {
config.set({
// ... normal karma configuration
- // add webpack to your list of frameworks
+ // make sure to include webpack as a framework
frameworks: ['mocha', 'webpack'],
plugins: [
@@ -95,14 +93,6 @@ const defaultWebpackOptions = {
},
},
plugins: [],
- // Something like this will be auto added by this.configure()
- // entry: {
- // 'foo-one.test.js': 'path/to/test/foo-one.test.js',
- // 'foo-two.test.js': 'path/to/test/foo-two.test.js',
- // },
- // plugins: [
- // new KarmaSyncPlugin()
- // ],
};
```
@@ -167,6 +157,12 @@ webpack: {
Ryan Clark
+
+
+
+ Cody Mikol
+ |
|