Add Prettier and ESLint tooling (Refs #77)

This commit is contained in:
2026-10-09 15:56:13 -04:00
parent 8ed059b8d3
commit 16469e2d43
711 changed files with 99737 additions and 28286 deletions
+8 -3
View File
@@ -3,9 +3,14 @@ import { serverSection, serverSectionAnchor } from '../../src/lib/server-section
describe('server detail bookmarks', () => {
it.each([
['scoreboard', 'live', null], ['chat', 'live', 'chat'], ['matches', 'matches', null],
['config', 'configuration', null], ['inventory', 'configuration', 'inventory'],
['logs', 'diagnostics', 'logs'], ['diagnostics', 'diagnostics', null], ['history', 'history', null]
['scoreboard', 'live', null],
['chat', 'live', 'chat'],
['matches', 'matches', null],
['config', 'configuration', null],
['inventory', 'configuration', 'inventory'],
['logs', 'diagnostics', 'logs'],
['diagnostics', 'diagnostics', null],
['history', 'history', null]
])('preserves the destination of tab=%s', (tab, section, anchor) => {
expect(serverSection(tab)).toBe(section);
expect(serverSectionAnchor(tab)).toBe(anchor);