domjtalbot/nx-mesh

View on GitHub
examples/sdk-nextjs/specs/sources/soap/country-info.spec.tsx

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';
import { render } from '@testing-library/react';

import { CountryInfoRoute } from '../../../pages/sources/soap/country-info';

import exampleData from './country-info.json';

describe('CountryIfno', () => {
  it('should render successfully', () => {
    const { baseElement } = render(<CountryInfoRoute {...exampleData} />);

    expect(baseElement).toBeTruthy();
  });
});