@@ -25,6 +25,9 @@ test('brand tokens match the coded gold and signal palette', () => {
|
||||
assert.equal(tokens.name, 'Jarvis');
|
||||
assert.equal(tokens.product, 'Jarvis QVAC');
|
||||
assert.equal(tokens.tagline, 'Local voice for your desktop');
|
||||
assert.equal(tokens.publisher, 'HoneyPeer, LLC');
|
||||
assert.equal(tokens.license, 'AGPL-3.0-or-later');
|
||||
assert.match(brandSource, /publisher: 'HoneyPeer, LLC'/);
|
||||
assert.equal(tokens.colors.gold, '#F4B942');
|
||||
assert.equal(tokens.colors.signal, '#4FD2FF');
|
||||
assert.equal(tokens.colors.ink, '#0B0E14');
|
||||
@@ -65,6 +68,7 @@ test('HUD, settings, and launcher consume the brand package', () => {
|
||||
assert.match(metadata.description, /Local voice for your desktop/);
|
||||
assert.match(settingsWindow, /from '\.\/brand\.js'/);
|
||||
assert.match(settingsWindow, /brandBanner/);
|
||||
assert.match(settingsWindow, /BRAND\.publisher/);
|
||||
assert.match(settingsWindow, /accentRow/);
|
||||
assert.match(extensionSource, /brand\/icons\/jarvis-mark\.svg/);
|
||||
assert.match(extensionSource, /text: 'Jarvis'/);
|
||||
@@ -80,4 +84,6 @@ test('accent helper rejects invalid hex and keeps Gold', async () => {
|
||||
assert.equal(normalizeAccent('not-a-color'), '#F4B942');
|
||||
assert.equal(normalizeAccent(''), '#F4B942');
|
||||
assert.equal(BRAND.accents.length, 5);
|
||||
assert.equal(BRAND.publisher, 'HoneyPeer, LLC');
|
||||
assert.equal(BRAND.license, 'AGPL-3.0-or-later');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user