Fakultas Ilmu Komputer UI

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

import NutritionistDetail from '.';
import { nutritionistDummy } from '__mocks__/cart';

describe('NutritionistDetail', () => {
  it('renders correctly', () => {
    render(<NutritionistDetail />, ROUTES.nutritionistDetail, {
      ntr: nutritionistDummy,
    });
  });
});