remove debugging logs

This commit is contained in:
Hongbo Wu
2024-05-15 16:35:19 +08:00
parent eff9e6ce4d
commit 58fa766e2f
2 changed files with 0 additions and 5 deletions

View File

@ -9,7 +9,5 @@ export const mochaHooks = {
sinon sinon
.stub(uploads, 'storage') .stub(uploads, 'storage')
.value(new MockStorage() as unknown as Storage) .value(new MockStorage() as unknown as Storage)
console.log('mock cloud storage created')
}, },
} }

View File

@ -5,7 +5,6 @@ export class MockStorage {
constructor() { constructor() {
this.buckets = {} this.buckets = {}
console.log('MockStorage initialized')
} }
bucket(name: string) { bucket(name: string) {
@ -20,7 +19,6 @@ class MockBucket {
constructor(name: string) { constructor(name: string) {
this.name = name this.name = name
this.files = {} this.files = {}
console.log('MockBucket initialized')
} }
file(path: string) { file(path: string) {
@ -35,7 +33,6 @@ class MockFile {
constructor(path: string) { constructor(path: string) {
this.path = path this.path = path
this.contents = Buffer.alloc(0) this.contents = Buffer.alloc(0)
console.log('MockFile initialized')
} }
createWriteStream() { createWriteStream() {