diff options
author | 2018-06-20 22:46:37 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:53 +0300 | |
commit | c3e791ae2357bbe220c133e3ab417bd5f7c55410 (patch) | |
tree | 2061468a182b85ec94f0c33008b47ea780900a12 /vnext/package.json | |
parent | 64a73c43afded0c5bb30ea15ce11adc15b5b2ef5 (diff) |
initial unit testing setup
Diffstat (limited to 'vnext/package.json')
-rw-r--r-- | vnext/package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vnext/package.json b/vnext/package.json index f22a6267..860beeb0 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -3,7 +3,7 @@ "version": "3.0.0", "description": "", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", + "test": "jest", "dist": "webpack -p", "start": "webpack-serve" }, @@ -12,6 +12,7 @@ "license": "ISC", "devDependencies": { "babel-core": "^6.26.3", + "babel-jest": "^23.0.1", "babel-loader": "^7.1.4", "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", @@ -21,11 +22,13 @@ "html-loader": "^0.5.5", "html-webpack-plugin": "^3.2.0", "internal-ip": "^3.0.1", + "jest": "^23.1.0", "koa-connect": "^2.0.1", "mini-css-extract-plugin": "^0.4.0", "optimize-css-assets-webpack-plugin": "^4.0.2", "postcss-loader": "^2.1.5", "prop-types": "^15.6.2", + "react-test-renderer": "^16.4.1", "style-loader": "^0.21.0", "webpack": "^4.12.0", "webpack-command": "^0.2.1", |