1
0
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:
Kushagra Gour
2018-07-31 01:58:35 +05:30
parent f860ef99db
commit d7cad46c58

View File

@ -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();
});
});