mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-20 15:53:59 +08:00
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:
parent
ecf6eea708
commit
4b0709a0d5
8 changed files with 469 additions and 26 deletions
|
@ -1,3 +1,5 @@
|
|||
require('nock').disableNetConnect();
|
||||
|
||||
module.exports = {
|
||||
clearMocks: true,
|
||||
moduleFileExtensions: ['js', 'ts'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue