Skip to content

Commit 69bd52e

Browse files
test(web): remove duplicate pairing eligibility assertions
1 parent 0eb3698 commit 69bd52e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎apps/web/src/components/settings/ConnectionsSettings.logic.test.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ describe("resolveTailscaleHttpsRowState", () => {
261261
reachability: "private-network",
262262
});
263263

264-
it("keeps failed-probe HTTPS enabled and disableable without offering it for QR pairing", () => {
264+
it("keeps failed-probe HTTPS enabled and disableable", () => {
265265
const unavailable = { ...endpoint, status: "unavailable" as const };
266266
expect(
267267
resolveTailscaleHttpsRowState({ endpoint: unavailable, serveEnabled: true }),
@@ -270,8 +270,6 @@ describe("resolveTailscaleHttpsRowState", () => {
270270
checked: true,
271271
reachable: false,
272272
});
273-
expect(isQrShareableEndpoint(unavailable)).toBe(false);
274-
expect(isQrShareableEndpoint(endpoint)).toBe(true);
275273
});
276274

277275
it("keeps enabled HTTPS disableable when its endpoint disappears", () => {

0 commit comments

Comments
 (0)