mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
Clean up redundant messages on the Pair Glasses page
This commit is contained in:
1 parent
fa663804de
commit
bf66c5a53c
5 files changed
+5
-33
No files matched your search
@@ -12,7 +12,6 @@ const {
|
||||
MINIMUM_METERS,
|
||||
MAXIMUM_METERS,
|
||||
zoneFromMeters,
|
||||
zoneLabel,
|
||||
sortedByProximity,
|
||||
} = require("../.test-build/app/g2/ble-proximity.js");
|
||||
|
||||
@@ -59,7 +58,6 @@ test("zones and their boundaries", () => {
|
||||
assert.equal(zoneFromMeters(3), "far");
|
||||
assert.equal(zoneFromMeters(9.9), "far");
|
||||
assert.equal(zoneFromMeters(10), "distant");
|
||||
assert.equal(zoneLabel("immediate"), "In your hand");
|
||||
});
|
||||
|
||||
test("weak signals carry lower confidence", () => {
|
||||
|
||||
@@ -189,7 +189,7 @@ test("scan row carries the decoded variant, artwork, and proximity", () => {
|
||||
assert.equal(row.colorway, "brown");
|
||||
assert.equal(row.imagePath, "~/images/glasses/glasses_g2_b_brown.png");
|
||||
assert.equal(row.hasVariantImage, true);
|
||||
assert.match(row.proximitySummary, /In your hand|Nearby/);
|
||||
assert.match(row.proximityGlyph, /^●●●[●○]$/);
|
||||
assert.match(row.armsSummary, /serials match/);
|
||||
assert.equal(row.canSelect, true);
|
||||
assert.equal(row.isNearest, false);
|
||||
|
||||
Reference in new issue
Block a user