Fix unit test warning

Remove unused route from test
This commit is contained in:
jwu-fisker
2021-06-09 10:56:39 -07:00
parent 067e465b59
commit c369480f24
3 changed files with 2031 additions and 2597 deletions

View File

@@ -67,10 +67,6 @@ describe("App", () => {
await check("/updates", "span.MuiButton-label", "Sign In");
});
it("Route /update unauthenticated", async () => {
await check("/update/1", "span.MuiButton-label", "Sign In");
});
it("Route /carupdate-deploy unauthenticated", async () => {
await check("/carupdate-deploy/1", "span.MuiButton-label", "Sign In");
});
@@ -120,11 +116,6 @@ describe("App", () => {
await check("/updates", "h6", "Deploy Packages");
});
it("Route /update authenticated", async () => {
setToken(TEST_AUTH_OBJECT);
await check("/update/1", "h6", "Edit Update Package 1");
});
it("Route /carupdate-status authenticated", async () => {
setToken(TEST_AUTH_OBJECT);
await check("/carupdate-status/1", "h6", "Package Package 1.0");