Fix unit tests and make tests fail if a promise rejects after the test harness is finishes (#2034)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-03-30 10:14:05 -04:00
1 parent a4ba77c58b
commit 503a49261e
15 files changed
+153 -166

No files matched your search

@@ -1,7 +1,3 @@
/**
* @jest-environment jsdom
*/
import React from "react";
import "@testing-library/jest-dom/extend-expect";
import { fireEvent, render } from "@testing-library/react";
@@ -1,7 +1,3 @@
/**
* @jest-environment jsdom
*/
import React from "react";
import "@testing-library/jest-dom/extend-expect";
import { render } from "@testing-library/react";
@@ -1,7 +1,3 @@
/**
* @jest-environment jsdom
*/
import { podsStore } from "../../+workloads-pods/pods.store";
import { Pod } from "../../../api/endpoints";
import { dockStore } from "../dock.store";