Fakultas Ilmu Komputer UI

index.test.tsx 422 Bytes
Newer Older
1
import React from 'react';
2
3
import { render } from 'utils/testing';
import * as ROUTES from 'constants/routes';
4
5
6
7
8

import ChooseWeekForNutritionist from '.';

describe('ChooseWeekForNutritionist', () => {
  it('renders correctly', () => {
9
10
11
12
13
14
15
16
17
    render(
      <ChooseWeekForNutritionist />,
      ROUTES.weeklyReportChooseWeekForNutritionist,
      {
        routeParams: {
          id: 1,
        },
      },
    );
18
19
  });
});