1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-01-16 20:08:15 +01:00
php-web-maker/tests/footer.test.js
2022-03-08 12:31:44 +05:30

15 lines
519 B
JavaScript

import { h, Component } from 'preact';
import Footer from '../src/components/Footer';
import { Link } from 'preact-router/match';
// See: https://github.com/mzgoddard/preact-render-spy
// 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 prefs={{}} />);
// expect(context.find('#notificationsBtn').exists()).toBeTruthy();
expect(true).toBeTruthy();
});
});