migrate tests to Jest

This commit is contained in:
Alexander Zobnin
2017-10-30 19:59:28 +03:00
parent 89b5c9e135
commit e80a814880
26 changed files with 346 additions and 376 deletions

View File

@@ -4,8 +4,8 @@
"version": "3.6.0",
"description": "Zabbix plugin for Grafana",
"scripts": {
"test": "./node_modules/.bin/grunt test",
"build": "./node_modules/.bin/grunt",
"test": "./node_modules/.bin/grunt buildTest && jest",
"build": "./node_modules/.bin/grunt && jest",
"watch": "./node_modules/.bin/grunt watch"
},
"repository": {
@@ -18,12 +18,12 @@
"url": "https://github.com/alexanderzobnin/grafana-zabbix/issues"
},
"devDependencies": {
"babel": "~6.5.1",
"babel-plugin-transform-es2015-for-of": "^6.6.0",
"babel-plugin-transform-es2015-modules-systemjs": "^6.5.0",
"babel-preset-es2015": "^6.5.0",
"babel": "~6.5.1",
"benchmark":"^2.1.4",
"chai": "~3.5.0",
"benchmark": "^2.1.4",
"grunt": "~0.4.5",
"grunt-babel": "~6.0.0",
"grunt-benchmark": "^1.0.0",
"grunt-cli": "~1.2.0",
@@ -34,19 +34,14 @@
"grunt-contrib-watch": "^0.6.1",
"grunt-execute": "~0.2.2",
"grunt-jscs": "^2.8.0",
"grunt-mocha-test": "~0.12.7",
"grunt-sass": "^1.1.0",
"grunt-systemjs-builder": "^0.2.5",
"grunt": "~0.4.5",
"jest": "^21.2.1",
"jsdom": "~11.3.0",
"jshint-stylish": "^2.1.0",
"load-grunt-tasks": "~3.2.0",
"mocha": "^2.4.5",
"moment": "~2.14.1",
"prunk": "~1.2.1",
"q": "~1.4.1",
"sinon-chai": "~2.13.0",
"sinon":"^3.2.1",
"tether-drop": "^1.4.2"
},
"dependencies": {