Format edge gateway workspace regression spec
This commit is contained in:
@@ -70,10 +70,14 @@ describe("edge gateway workspace contract", () => {
|
||||
expect(settingsSource).toContain('data-testid="gateway-settings-page"');
|
||||
expect(settingsSource).toContain('data-testid="gateway-rotate-confirmation"');
|
||||
expect(settingsSource).toContain('data-testid="gateway-delete-confirmation"');
|
||||
expect(managerSource).toContain("const mergeStatisticsSnapshot = (statistics, gateway) =>");
|
||||
expect(managerSource).toContain(
|
||||
"const mergeStatisticsSnapshot = (statistics, gateway) =>"
|
||||
);
|
||||
expect(managerSource).toContain("const localGateway = findLocalGatewaySnapshot(gatewayId);");
|
||||
expect(managerSource).toContain("if (payload?.gateway && !localGateway)");
|
||||
expect(managerSource).toContain("statisticsSnapshot.value = mergeStatisticsSnapshot(payload || {}, localGateway || payload?.gateway || null);");
|
||||
expect(managerSource).toContain(
|
||||
"statisticsSnapshot.value = mergeStatisticsSnapshot(payload || {}, localGateway || payload?.gateway || null);"
|
||||
);
|
||||
});
|
||||
|
||||
it("mounts a module workspace and a safe-subset department workspace", () => {
|
||||
|
||||
Reference in New Issue
Block a user