Jest package and sample test
__tests__/example.test.js
0 → 100644
This diff is collapsed.
... | ... | @@ -5,7 +5,8 @@ |
"main": "index.js", | ||
"scripts": { | ||
"build": "webpack src/app.js -o public/js/app.js", | ||
"start": "http-server -c-1 -p 12345 public" | ||
"start": "http-server -c-1 -p 12345 public", | ||
"test": "jest" | ||
}, | ||
"dependencies": { | ||
"http-server": "^0.11.1", | ||
... | ... | @@ -17,6 +18,7 @@ |
"yjs": "^12.3.3" | ||
}, | ||
"devDependencies": { | ||
"jest": "^24.9.0", | ||
"webpack": "^4.41.0", | ||
"webpack-cli": "^3.3.9" | ||
} | ||
... | ... |
Please register or sign in to comment