mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-03-16 22:10:32 +00:00
Make test less strict on anti aliasing, disable cache. (#5077)
* ok * remove canfail
This commit is contained in:
parent
d95db41608
commit
705cf3a5e7
2 changed files with 5 additions and 5 deletions
|
|
@ -74,11 +74,11 @@ jobs:
|
|||
node_js: "8"
|
||||
script: npm run test:visual
|
||||
- stage: Visual Tests
|
||||
env: LAUNCHER=Chrome CANFAIL=TRUE
|
||||
env: LAUNCHER=Chrome
|
||||
install: npm install testem@1.18.4 qunit@2.4.1
|
||||
script: npm run build:fast && testem ci --port 8080 -f testem-visual.json -l $LAUNCHER
|
||||
- stage: Visual Tests
|
||||
env: LAUNCHER=Firefox CANFAIL=TRUE
|
||||
env: LAUNCHER=Firefox
|
||||
install: npm install testem@1.18.4 qunit@2.4.1
|
||||
script: npm run build:fast && testem ci --port 8080 -f testem-visual.json -l $LAUNCHER
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@
|
|||
}
|
||||
var fabricCanvas = this.canvas = new fabric.Canvas(null, {enableRetinaScaling: false, renderOnAddRemove: false});
|
||||
var pixelmatchOptions = {
|
||||
includeAA: true,
|
||||
threshold: 0.1
|
||||
includeAA: false,
|
||||
threshold: 0.095
|
||||
};
|
||||
|
||||
fabric.Object.prototype.objectCaching = false;
|
||||
function getAbsolutePath(path) {
|
||||
var isAbsolute = /^https?:/.test(path);
|
||||
if (isAbsolute) { return path; };
|
||||
|
|
|
|||
Loading…
Reference in a new issue