Skip to content

Commit

Permalink
test: apply small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-beltran-cs authored and simon360 committed May 20, 2022
1 parent a359381 commit f0a5cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/environment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ describe("using jest-environment-jsdom", () => {
});

test("should instantiate using jest-environment-jsdom", () => {
const environment = new jestEnvironmentJSDOMGlobal();
new jestEnvironmentJSDOMGlobal();

expect(mockJestEnvironmentJsdom).toHaveBeenCalledTimes(1);
});

test("should set jsdom on its global object", async () => {
test("should set jsdom on setup", async () => {
const environment = new jestEnvironmentJSDOMGlobal();

await environment.setup()
Expand Down

0 comments on commit f0a5cff

Please sign in to comment.