Files
monorepo/LCU.WebApps.Collections.RepoClient/src/App.fix.tsx
T
2026-03-17 11:09:46 -05:00

19 lines
556 B
TypeScript

import React from 'react';
import App from './App';
import { ShallowWrapper, shallow } from 'enzyme';
// - TODO: Removing out test for now - maps js files are causing issues with current version of typescript. Once typescript is updated, add .test back into file name.
describe ('App component', () => {
let wrapper: ShallowWrapper;
beforeEach(() => {
wrapper = shallow(<App />);
});
it ('renders a navigation bar', () => {
const component = wrapper.find(`[data-test='navigationBar']`);
expect(component.length).toBe(1);
});
});