mock-gcs
JSON →mock-gcs is a TypeScript library providing mock implementations of Google Cloud Storage SDK classes (Storage, Bucket, File) for testing and development. Version 2.1.0 supports most basic features like bucket and file operations, upload/download, signed URLs, and error simulation via mockErrorOnce. It also exports TypeScript interfaces (IStorage, IBucket, IFile) to facilitate type-safe code that works with both @google-cloud/storage and mock-gcs. The library is actively maintained and encourages community contributions for missing methods.
Resources
packagemock-gcs ↗