mirror of
https://github.com/layer-systems/website.git
synced 2026-09-14 07:02:09 +02:00
Complete About version test wiring
Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8f31095cf7
commit
66b044c165
@@ -8,7 +8,14 @@ vi.mock('@/os/useWindowManager', () => ({
|
||||
|
||||
describe('About app', () => {
|
||||
test('displays the package version', () => {
|
||||
render(<AboutApp setTitle={vi.fn()} />);
|
||||
render(
|
||||
<AboutApp
|
||||
windowId="about"
|
||||
params={{}}
|
||||
setTitle={vi.fn()}
|
||||
setParams={vi.fn()}
|
||||
/>,
|
||||
);
|
||||
|
||||
expect(screen.getByText('Version 1.0.0')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user