Add unit tests for restore (#62)

* Move archive file size to utils

* Disable net connect with nock

* Add unit tests for restore

* Fix test names and test URL
This commit is contained in:
Josh Gross 2019-11-06 13:41:45 -05:00 committed by GitHub
parent ecf6eea708
commit 4b0709a0d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 469 additions and 26 deletions

View file

@ -31,11 +31,13 @@
},
"devDependencies": {
"@types/jest": "^24.0.13",
"@types/nock": "^11.1.0",
"@types/node": "^12.0.4",
"@types/uuid": "^3.4.5",
"@zeit/ncc": "^0.20.5",
"jest": "^24.8.0",
"jest-circus": "^24.7.1",
"nock": "^11.7.0",
"prettier": "1.18.2",
"ts-jest": "^24.0.2",
"typescript": "^3.6.4"