mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
7a3bbfde10
ref MOM61 - Adds admin-x react app we’ll use as ActivityPub playground to the sidebar nav behind the feature flag. - Wired up routing to Ember - Setup the project as `admin-x-activitypub` --------- Co-authored-by: Ronald Langeveld <hi@ronaldlangeveld.com>
10 lines
327 B
TypeScript
10 lines
327 B
TypeScript
import ListIndex from '../../src/components/ListIndex';
|
|
import {render, screen} from '@testing-library/react';
|
|
|
|
describe('Demo', function () {
|
|
it('renders a component', async function () {
|
|
render(<ListIndex/>);
|
|
|
|
expect(screen.getAllByRole('heading')[0].textContent).toEqual('ActivityPub Demo');
|
|
});
|
|
});
|