Skip to content
This repository was archived by the owner on Feb 25, 2018. It is now read-only.

Commit cd94b41

Browse files
committed
Add mismatchTolerance as an option in documented options
1 parent 23fc45e commit cd94b41

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ or, alternatively, type this into your command line interface:
1616

1717
## CHANGELOG
1818

19-
* Added `mismatchTolerance` tolerance (`mismatchTolerance: 0.0.5` is default) (thx [fidgety](https://github.com/chrisgladd/grunt-phantomcss/pull/17))
19+
* Added `mismatchTolerance` tolerance (`mismatchTolerance: 0.05` is default) (thx [fidgety](https://github.com/chrisgladd/grunt-phantomcss/pull/17))
2020
* Use PhantomCSS v0.7.1
2121
* Update dependencies
2222
* Remove grunt as peerDependency causing multiple issues with peerPackages
@@ -74,6 +74,12 @@ Type: `String|Array`
7474

7575
The test files to run.
7676

77+
#### options.mismatchTolerance
78+
Type: `Number`
79+
Default: `0.05`
80+
81+
Toleranz of errors that is allowed in a screenshot (for instance to match anti-aliasing bugs).
82+
7783
#### options.screenshots
7884
Type: `String`
7985
Default: `'./screenshots'`

0 commit comments

Comments
 (0)