ConstThe test fails before release if the plugin's bar button names an icon
the player does not have. commands.add would refuse an unknown name
with invalid; the player's tests keep BAR_BUTTON_ICONS equal to its
icon set, so checking against it is the same check without a player.
import assert from "node:assert/strict";
import { BAR_BUTTON_ICONS } from "@vestra-player/sdk/testing";
assert.ok(BAR_BUTTON_ICONS.includes("store")); // the icon main.ts uses
The icons a bottom-bar button may name (
CommandOptions.button.icon): every icon of the player's V-Line set,@vestra/icons.slint(draw one in your own Slint withIcon { name: "store"; }). The player's tests check that this list is its icon set."sliders"(three sliders, the player's Adjustments and Effects button);"search-ai"(a magnifier with the AI icon's sparkle, the palette's button while a plugin holds its lead row).