mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 22:01:38 +08:00
improve docs
This commit is contained in:
@@ -131,14 +131,19 @@ Quagga.decodeSingle({
|
|||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
Unit Tests can be run with Karma and written using Mocha, Chai and SinonJS. Coverage reports are automatically generated in coverage/.
|
Unit Tests can be run with [Karma][karmaUrl] and written using [Mocha][mochaUrl], [Chai][chaiUrl] and [SinonJS][sinonUrl]. Coverage reports are automatically generated in the coverage/ folder.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
> npm install
|
> npm install
|
||||||
> npm test
|
> npm test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
[zxing_github]: https://github.com/zxing/zxing
|
[zxing_github]: https://github.com/zxing/zxing
|
||||||
[teaser_left]: https://github.com/serratus/quaggaJS/blob/master/doc/img/mobile-located.png
|
[teaser_left]: https://github.com/serratus/quaggaJS/blob/master/doc/img/mobile-located.png
|
||||||
[teaser_right]: https://github.com/serratus/quaggaJS/blob/master/doc/img/mobile-detected.png
|
[teaser_right]: https://github.com/serratus/quaggaJS/blob/master/doc/img/mobile-detected.png
|
||||||
[caniuse_getusermedia]: http://caniuse.com/#feat=stream
|
[caniuse_getusermedia]: http://caniuse.com/#feat=stream
|
||||||
|
[sinonUrl]: http://sinonjs.org/
|
||||||
|
[chaiUrl]: http://chaijs.com/
|
||||||
|
[mochaUrl]: https://github.com/mochajs/mocha
|
||||||
|
[karmaUrl]: http://karma-runner.github.io/
|
||||||
|
|||||||
Reference in New Issue
Block a user