mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-12 09:36:32 +02:00
footer/tests: fix props
This commit is contained in:
@ -6,7 +6,7 @@ import { shallow, deep } from 'preact-render-spy';
|
|||||||
|
|
||||||
describe('Initial Test of the Footer', () => {
|
describe('Initial Test of the Footer', () => {
|
||||||
test('Footer renders 1 link with an ID of notificationsBtn', () => {
|
test('Footer renders 1 link with an ID of notificationsBtn', () => {
|
||||||
const context = shallow(<Footer />);
|
const context = shallow(<Footer prefs={{}} />);
|
||||||
expect(context.find('#notificationsBtn').exists()).toBeTruthy();
|
expect(context.find('#notificationsBtn').exists()).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user