remove debugging logs
This commit is contained in:
@ -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')
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user