diff --git a/package.json b/package.json index 842d7bb..8525f1c 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "config": { "blanket": { - "pattern": "lib", + "pattern": "src", "data-cover-never": "node_modules" } }, diff --git a/src/pulse/index.ts b/src/pulse/index.ts index 9963736..b18cc0c 100644 --- a/src/pulse/index.ts +++ b/src/pulse/index.ts @@ -243,16 +243,16 @@ class Pulse extends EventEmitter { return this.bindMethod('drain', drain); } + get mongo(): MongoMethod { + return this.bindMethod('mongo', mongo); + } + /** *************************************** * Private methods * ************************************* */ - private get mongo(): MongoMethod { - return this.bindMethod('mongo', mongo); - } - private get database(): DatabaseMethod { return this.bindMethod('database', database); }