Fakultas Ilmu Komputer UI

Commit 750da5ef authored by Doan Andreas Nathanael's avatar Doan Andreas Nathanael
Browse files

[RED] add further test for diet recom form

parent 9de0446d
......@@ -6,6 +6,11 @@ import ProfileDietRecommendation from '.';
describe('ProfileDietRecommendation', () => {
it('renders correctly', () => {
render(<ProfileDietRecommendation />, ROUTES.profileDietRecommendation);
render(<ProfileDietRecommendation />, ROUTES.profileDietRecommendation, {
routeParams: {
name: 'Doan',
id: 1,
},
});
});
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment