Release 2.7.5
Publish Docker Image / build-and-push (./build/Dockerfile, git.lzstealth.com/lzstealth/pulse-signage-web, web) (push) Successful in 1m18s
Publish Docker Image / build-and-push (./build/Dockerfile.player, git.lzstealth.com/lzstealth/pulse-signage-player, player) (push) Successful in 32s

This commit is contained in:
2026-08-15 13:06:46 +01:00
parent 1f1ad5d61f
commit aafe112c36
11 changed files with 687 additions and 1021 deletions
+11 -5
View File
@@ -3,13 +3,18 @@ const assert = require('node:assert/strict');
require('../src/common');
const packageJson = require('../package.json');
const pages = require('../src/web/pages');
const registerAboutRoutes = require('../src/web/routes/settings/about/routes');
const renderAboutPage = require('../src/web/routes/settings/about');
test('about page renders the footer link beside the version and lists bundled libraries', () => {
const html = pages.renderAboutPage({ id: 1 });
const libraries = renderAboutPage.buildLibraryList();
const orderedNames = ['AdminLTE', 'Animate.css', 'Bootstrap Icons', 'Cropper.js', 'Express', 'Handlebars', 'hls.js', 'Multer', 'MySQL2', 'Sharp', 'TinyMCE', 'ws'];
const orderedNames = libraries.map(function (library) {
return library.name;
});
let previousIndex = -1;
orderedNames.forEach(function (name) {
@@ -19,12 +24,13 @@ test('about page renders the footer link beside the version and lists bundled li
previousIndex = currentIndex;
});
assert.match(html, /v2\.7\.4/);
assert.match(html, new RegExp('v' + packageJson.version.split('.').join('\\.')));
assert.match(html, /About Pulse/);
assert.match(html, /href="\/settings\/about"/);
assert.match(html, /Cropper\.js/);
assert.match(html, /TinyMCE/);
assert.match(html, /7\.7\.0/);
libraries.forEach(function (library) {
assert.ok(library.version, `${library.name} version is missing`);
assert.match(html, new RegExp(`>${library.version}<`));
});
assert.match(html, /card card-outline card-primary h-100 overflow-hidden/);
assert.doesNotMatch(html, /rounded-3 overflow-hidden border/);
});