Skip to content

Commit

Permalink
Unit tests for lambda node.js code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaza committed Nov 4, 2020
1 parent 93fe305 commit 27ae640
Show file tree
Hide file tree
Showing 14 changed files with 1,640 additions and 142 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ dist/
.sass-cache/
*.css.map
.idea/
package-lock.json
.nyc_output/
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: node_js
node_js:
- lts/*
install:
- npm install
20 changes: 20 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "AWSPics",
"dependencies": {
"async": "^2.1.4",
"js-yaml": "^3.8.4",
"mime": "^2.0.5"
},
"devDependencies": {
"chai": "^4.2.0",
"mocha": "^8.2.1",
"mock-require": "^3.0.3",
"nyc": "^15.1.0",
"rewire": "^4.0.1",
"sinon": "^9.2.0",
"sinon-chai": "^3.5.0"
},
"scripts": {
"test": "nyc mocha --recursive"
}
}
Loading

0 comments on commit 27ae640

Please sign in to comment.