harden implementations

This commit is contained in:
seavor 2026-04-12 15:21:29 -05:00
parent c3ae4cffd6
commit 559a3ff1f4
25 changed files with 240 additions and 37 deletions

View file

@ -18,12 +18,6 @@ describe('Selectors', () => {
expect(Selectors.getInitialized(rootState(state))).toBe(true);
});
it('getConnectOptions → returns connectOptions', () => {
const connectOptions = { host: 'localhost', port: '4747' };
const state = makeServerState({ connectOptions });
expect(Selectors.getConnectOptions(rootState(state))).toBe(connectOptions);
});
it('getMessage → returns info.message', () => {
const state = makeServerState({ info: { message: 'Welcome!', name: null, version: null } });
expect(Selectors.getMessage(rootState(state))).toBe('Welcome!');