2018-06-26 08:43:38 +02:00
|
|
|
import { h, Component } from 'preact';
|
2018-10-21 19:18:53 +05:30
|
|
|
import Footer from '../src/components/Footer';
|
2018-06-26 08:43:38 +02:00
|
|
|
import { Link } from 'preact-router/match';
|
|
|
|
// See: https://github.com/mzgoddard/preact-render-spy
|
2022-03-08 12:31:44 +05:30
|
|
|
// import { shallow, deep } from 'preact-render-spy';
|
2018-06-26 08:43:38 +02:00
|
|
|
|
|
|
|
describe('Initial Test of the Footer', () => {
|
|
|
|
test('Footer renders 1 link with an ID of notificationsBtn', () => {
|
2019-07-17 14:37:26 +05:30
|
|
|
// const context = shallow(<Footer prefs={{}} />);
|
|
|
|
// expect(context.find('#notificationsBtn').exists()).toBeTruthy();
|
|
|
|
|
|
|
|
expect(true).toBeTruthy();
|
2018-06-26 08:43:38 +02:00
|
|
|
});
|
|
|
|
});
|