import {MongoMemoryServer} from 'mongodb-memory-server';

export = async function globalTeardown() {
  const instance: MongoMemoryServer = (global as any).__MONGOINSTANCE;
  await instance.stop();
};
