From e440986fb2bf22453e2254335980bfd6755f0dc4 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Thu, 11 Apr 2019 14:39:20 -0700 Subject: [PATCH] Actually call mongodb.collection in umzug test (#34671) --- types/umzug/umzug-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/umzug/umzug-tests.ts b/types/umzug/umzug-tests.ts index 730f350315..acd0397102 100644 --- a/types/umzug/umzug-tests.ts +++ b/types/umzug/umzug-tests.ts @@ -139,7 +139,7 @@ new Umzug({ * The to be used Mongo collection cursor. * Defaults to collection created from collectionName attribute. */ - collection: mongodb.collection, + collection: mongodb.collection('migrations'), /** * The name of the collection used by the connection.