Skip to content

Commit

Permalink
removed old test setup (#5070)
Browse files Browse the repository at this point in the history
* removed ol dep

* no build
  • Loading branch information
asturur authored Jun 26, 2018
1 parent 9a734a3 commit 4bb1ffb
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 134 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,14 @@
"build:watch": "onchange 'src/**/**' 'HEADER.js' 'lib/**/**' -- npm run build_export",
"build_with_gestures": "node build.js modules=ALL exclude=accessors",
"build_export": "npm run build:fast && npm run export_dist_to_site",
"test": "node test.js",
"test:visual": "node test-visual.js",
"test": "istanbul cover ./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib test/unit",
"test:visual": "./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib test/visual",
"test:all": "npm run test && npm run test:visual",
"lint": "eslint --config .eslintrc.json src",
"lint_tests": "eslint test/unit --config .eslintrc_tests",
"export_dist_to_site": "cp dist/fabric.js ../fabricjs.com/lib/fabric.js && cp package.json ../fabricjs.com/lib/package.json && cp -r src HEADER.js lib ../fabricjs.com/build/files/",
"export_tests_to_site": "cp test/unit/*.js ../fabricjs.com/test/unit",
"all": "npm run build && npm run test && npm run lint && npm run lint_tests && npm run export_dist_to_site && npm run export_tests_to_site",
"test:node": "./node_modules/qunit/bin/qunit test/node_test_setup.js test/lib test/unit",
"testem": "testem .",
"testem:ci": "testem ci"
},
Expand All @@ -65,7 +64,6 @@
"devDependencies": {
"eslint": "4.18.x",
"istanbul": "0.4.x",
"node-qunit": "^1.0.0",
"onchange": "^3.x.x",
"qunit": "^2.4.1",
"testem": "^1.18.4",
Expand Down
64 changes: 0 additions & 64 deletions test.js

This file was deleted.

4 changes: 0 additions & 4 deletions test/fixtures/test_script.js

This file was deleted.

61 changes: 0 additions & 61 deletions test/lib/canvas_assertions.js

This file was deleted.

1 change: 1 addition & 0 deletions test/node_test_setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ global.fs = require('fs');

QUnit.config.testTimeout = 10000;
QUnit.config.noglobals = true;
QUnit.config.hidePassed = true;
2 changes: 1 addition & 1 deletion testem.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"launchers": {
"Node": {
"command": "npm run test:node",
"command": "npm run test",
"protocol": "tap"
}
},
Expand Down

0 comments on commit 4bb1ffb

Please sign in to comment.