first commit

This commit is contained in:
Carla Floricel
2022-08-02 09:52:52 -04:00
parent 417ea8660b
commit 05e52aa52b
10444 changed files with 2300232 additions and 0 deletions

16
dashboard/src/App.test.js Normal file
View File

@@ -0,0 +1,16 @@
import { cleanup, render, screen } from '@testing-library/react';
import App from './App';
afterEach(cleanup)
test('render cohort panel', () => {
render(<App />);
const cohortElem = screen.getByText("Cohort");
expect(cohortElem).toHaveClass("btn-primary");
});
test('render individual panel', () => {
render(<App />);
const individualElem = screen.getByText("Individual");
expect(individualElem).toHaveClass("btn-secondary");
});