Skip to content

Commit f6fff71

Browse files
authored
Add clarification about using the mocha_test rule. (#26)
1 parent 6a213a6 commit f6fff71

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<table><tr>
2-
<td><img src="https://github.com/pubref/rules_protobuf/blob/master/images/bazel.png" width="120"/></td>
2+
<td><img src="https://bazel.build/images/bazel-icon.svg" width="120"/></td>
33
<td><img src="https://nodejs.org/static/images/logo.svg" width="120"/></td>
44
</tr><tr>
55
<td>Bazel</td>
@@ -187,3 +187,15 @@ mocha_test(
187187
]
188188
)
189189
```
190+
191+
> Note: to use the mocha_test rules, you'll need to add npm_mocha as a
192+
> dependency in your `WORKSPACE` file:
193+
194+
```
195+
npm_repository(
196+
name = "npm_mocha",
197+
deps = {
198+
"mocha": "3.5.0", # update as needed
199+
},
200+
)
201+
```

0 commit comments

Comments
 (0)