mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-26 08:24:42 +00:00
Merge pull request #220 from davidjrice/tests
Fix strokeDashArray related tests.
This commit is contained in:
commit
b07641a50f
5 changed files with 11 additions and 5 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
node_modules
|
||||
node_modules
|
||||
.DS_Store
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- 0.5
|
||||
- 0.6
|
||||
- 0.8
|
||||
before_install:
|
||||
- git submodule update --init --recursive
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
"test": "node test.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"canvas": ">=0.8.1",
|
||||
"canvas": "git://github.com/LearnBoost/node-canvas.git",
|
||||
"jsdom": ">=0.2.3",
|
||||
"xmldom": ">=0.1.7"
|
||||
},
|
||||
|
|
|
|||
2
site
2
site
|
|
@ -1 +1 @@
|
|||
Subproject commit 9d7975f84a458e2818f2d79d759dca8350bc32e3
|
||||
Subproject commit 4eb839d12886823692ee78f9b88c17328f40d824
|
||||
7
test.js
7
test.js
|
|
@ -1,6 +1,6 @@
|
|||
var testrunner = require('qunit');
|
||||
|
||||
testrunner.options.log.summary = false;
|
||||
testrunner.options.log.summary = true;
|
||||
testrunner.options.log.tests = false;
|
||||
testrunner.options.log.assertions = false;
|
||||
|
||||
|
|
@ -27,6 +27,11 @@ testrunner.run({
|
|||
'./site/test/unit/canvas_static.js'
|
||||
]
|
||||
}, function(err, report) {
|
||||
if(report.failed > 0){
|
||||
process.on('exit', function() {
|
||||
process.exit(1);
|
||||
});
|
||||
}
|
||||
if (err) {
|
||||
console.log(err);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue