feat: relay station masts come online through the toolkit chapter
This commit is contained in:
@@ -180,6 +180,16 @@ describe('DRIVE-IN on the server', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('RELAY STATION on the server', () => {
|
||||
it('ships no relay state: the toolkit groups render unchanged', async () => {
|
||||
const html = await render('/', validInputs);
|
||||
expect(html).not.toContain('data-relay');
|
||||
expect(html).not.toContain('ONLINE');
|
||||
const document = await renderedDocument();
|
||||
expect(document.querySelectorAll('#toolkit .toolkit-group').length).toBe(validInputs.content.toolkit.length);
|
||||
});
|
||||
});
|
||||
|
||||
describe('HIGH BEAM on the server', () => {
|
||||
it('ships no beam state: the name renders fully lit and its text is unchanged', async () => {
|
||||
const html = await render('/', validInputs);
|
||||
|
||||
Reference in New Issue
Block a user