Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
fix import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
sentilesdal committed Jan 15, 2022
1 parent c75061c commit b4d7799
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jest-environment-jsdom.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// and https://github.com/firebase/firebase-js-sdk/issues/3096#issuecomment-827741103
// Overcomes error from jest internals...: https://github.com/facebook/jest/issues/7780

import JSDOMEnvironment from "jest-environment-jsdom";
// eslint-disable-next-line @typescript-eslint/no-var-requires
const JSDOMEnvironment = require("jest-environment-jsdom");

class MyEnvironment extends JSDOMEnvironment {
constructor(config) {
Expand Down

0 comments on commit b4d7799

Please sign in to comment.