mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-11 17:16:26 +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', () => {
|
||||
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();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user