/* eslint-disable class-methods-use-this */
/* eslint-disable no-empty-function */

/**
 * Correct Jest bug that prevents the Firestore tests from running. More info here:
 * https://github.com/firebase/firebase-js-sdk/issues/3096#issuecomment-637584185
 */

// eslint-disable-next-line import/no-extraneous-dependencies
import { TestEnvironment } from 'jest-environment-jsdom';

class MyEnvironment extends TestEnvironment {
  constructor({ globalConfig, projectConfig }, context) {
    super({ globalConfig, projectConfig }, context);
  }

  async setup() {}

  async teardown() {}
}

module.exports = MyEnvironment;
