rename debug to system (#4447)

This commit is contained in:
Blake Blackshear
2022-11-20 08:56:48 -06:00
committed by GitHub
parent ebdf36e0b9
commit 82432a78b7
5 changed files with 11 additions and 11 deletions

View File

@@ -1,18 +1,18 @@
import { h } from 'preact';
import Debug from '../Debug';
import System from '../System';
import { render, screen, waitForElementToBeRemoved } from 'testing-library';
describe('Debug Route', () => {
describe('System Route', () => {
beforeEach(() => {});
test('shows an ActivityIndicator if stats are null', async () => {
render(<Debug />);
render(<System />);
expect(screen.queryByLabelText('Loading…')).toBeInTheDocument();
});
// eslint-disable-next-line jest/no-disabled-tests
test.skip('shows stats and config', async () => {
render(<Debug />);
render(<System />);
await waitForElementToBeRemoved(() => screen.queryByLabelText('Loading…'));