eventlog: branding events

This commit is contained in:
Girish Ramakrishnan
2024-12-02 12:11:14 +01:00
parent 872705d58d
commit 0a4aede3a8
6 changed files with 33 additions and 6 deletions

View File

@@ -43,12 +43,12 @@ describe('Branding', function () {
});
it('can render footer', async function () {
await branding.setFooter('BigFoot Inc');
await branding.setFooter('BigFoot Inc', auditSource);
expect(await branding.renderFooter()).to.be('BigFoot Inc');
});
it('can render footer with YEAR', async function () {
await branding.setFooter('BigFoot Inc %YEAR%');
await branding.setFooter('BigFoot Inc %YEAR%', auditSource);
expect(await branding.renderFooter()).to.be('BigFoot Inc 2024');
});
});