github
180 of 309 branches covered (58.25%)
Branch coverage included in aggregate %.
937 of 1075 new or added lines in 19 files covered. (87.16%)
3 existing lines in 1 file now uncovered.2694 of 3032 relevant lines covered (88.85%)
3.15 hits per line
|
import React from 'react'; |
1✔ |
|
import Navbar from '../components/Navbar/Navbar'; |
1✔ |
|
import Footer from '../components/Footer/Footer'; |
1✔ |
|
|
1✔ |
|
const MainLayout: React.FC<React.PropsWithChildren<unknown>> = ({ children }) => {
|
1✔ |
NEW
|
return (
|
× |
NEW
|
<> |
× |
NEW
|
<Navbar /> |
× |
NEW
|
<main>{children}</main> |
× |
NEW
|
<Footer /> |
× |
NEW
|
</> |
× |
NEW
|
); |
× |
NEW
|
}; |
× |
|
|
1✔ |
|
export default MainLayout; |
1✔ |