Jest package and sample test
__tests__/example.test.js
0 → 100644
Source diff could not be displayed: it is too large. Options to address this: view the blob.
... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"build": "webpack src/app.js -o public/js/app.js", | "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": { | "dependencies": { | ||
"http-server": "^0.11.1", | "http-server": "^0.11.1", | ||
... | @@ -17,6 +18,7 @@ | ... | @@ -17,6 +18,7 @@ |
"yjs": "^12.3.3" | "yjs": "^12.3.3" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"jest": "^24.9.0", | |||
"webpack": "^4.41.0", | "webpack": "^4.41.0", | ||
"webpack-cli": "^3.3.9" | "webpack-cli": "^3.3.9" | ||
} | } | ||
... | ... |
Please register or sign in to comment