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

+10
View File
@@ -1,3 +1,13 @@
/**
* @jest-environment node
*/
/*
Cluster tests are run if there is a pre-existing minikube cluster. Before running cluster tests the TEST_NAMESPACE
namespace is removed, if it exists, from the minikube cluster. Resources are created as part of the cluster tests in the
TEST_NAMESPACE namespace. This is done to minimize destructive impact of the cluster tests on an existing minikube
cluster and vice versa.
*/
import { Application } from "spectron";
import * as utils from "../helpers/utils";
import { listHelmRepositories } from "../helpers/utils";