Skip to content

Commit adfead2

Browse files
committed
-reorganized src/app folder by adding more subfolders and shuffling files around.
-updated package.json to include v23 contributors -accepted a merge conflict in typedoc.json
1 parent 76658cb commit adfead2

37 files changed

+62
-68
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ src/extension/build.pem
1313
bower_components
1414
sandboxes/manual-tests/NextJS/.next
1515
.vscode
16-
src/app/components/Map.tsx
1716
package-lock.json
1817
yarn.lock

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"David Bernstein",
5656
"David Chai",
5757
"David Kim",
58+
"David Moore",
5859
"Dennis Lopez",
5960
"Edar Liu",
6061
"Edwin Menendez",
@@ -73,7 +74,9 @@
7374
"James Nghiem",
7475
"Jasmine Noor",
7576
"Jason Victor",
77+
"Jesse Rosengrant",
7678
"Jimmy Phy",
79+
"John Banks",
7780
"Joseph Park",
7881
"Joseph Stern",
7982
"Josh Kim",
@@ -87,6 +90,7 @@
8790
"Kristina Wallen",
8891
"Kyle Bell",
8992
"Lance Ziegler",
93+
"Liam Donaher",
9094
"Lina Shin",
9195
"Mark Teets",
9296
"Mike Bednarz",

src/app/components/App.tsx renamed to src/app/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react';
22
import { MemoryRouter as Router } from 'react-router-dom';
3-
import MainContainer from '../containers/MainContainer';
3+
import MainContainer from './containers/MainContainer';
44
import { ThemeProvider } from '@mui/material/styles';
5-
import theme from './theme';
5+
import theme from './styles/theme';
66

77
/*
88
'currentTab' is the current active tab within Google Chrome.

src/app/__tests__/ActionContainer.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const customStore = configureStore({
132132
const render = (component) => rtlRender(<Provider store={customStore}>{component}</Provider>);
133133

134134
const MockRouteDescription = jest.fn();
135-
jest.mock('../components/RouteDescription', () => () => {
135+
jest.mock('../components/Actions/RouteDescription', () => () => {
136136
MockRouteDescription();
137137
return <div>MockRouteDescription</div>;
138138
});

src/app/__tests__/ErrorMsg.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { render, screen } from '@testing-library/react';
33
import '@testing-library/jest-dom'; // needed this to extend the jest-dom assertions (ex toHaveTextContent)
4-
import ErrorMsg from '../components/ErrorMsg';
4+
import ErrorMsg from '../components/ErrorHandling/ErrorMsg';
55

66
const props = {
77
loadingArray: [false],

src/app/__tests__/Loader.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { render } from '@testing-library/react';
33
import '@testing-library/jest-dom'; // needed this to extend the jest-dom assertions (ex toHaveTextContent)
4-
import Loader from '../components/Loader';
4+
import Loader from '../components/ErrorHandling/Loader';
55

66
describe('unit testing for Loader.tsx', () => {
77
test('renders a loading icon', () => {

src/app/__tests__/MainSlider.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { render as rtlRender, screen } from '@testing-library/react';
33
import '@testing-library/jest-dom';
4-
import MainSlider from '../components/MainSlider';
4+
import MainSlider from '../components/TimeTravel/MainSlider';
55
import { mainSlice } from '../slices/mainSlice';
66
import { Provider } from 'react-redux';
77
import { configureStore } from '@reduxjs/toolkit';

src/app/__tests__/TravelContainer.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { configureStore } from '@reduxjs/toolkit';
66
import { mainSlice } from '../slices/mainSlice';
77
import { useDispatch } from 'react-redux';
88
import { ThemeProvider } from '@mui/material/styles';
9-
import theme from '../components/theme';
9+
import theme from '../styles/theme';
1010
import '@testing-library/jest-dom'; // needed this to extend the jest-dom assertions (ex toHaveTextContent)
1111

1212
const customTabs = {

src/app/__tests__/Tutorial.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import '@testing-library/jest-dom';
44
import { TextEncoder } from 'util';
55
global.TextEncoder = TextEncoder;
66
import '@testing-library/jest-dom';
7-
import Tutorial from '../components/Tutorial';
7+
import Tutorial from '../components/Buttons/Tutorial';
88

99
const dispatch = jest.fn();
1010
const props = {

src/app/__tests__/WebMetrics.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { render as rtlRender } from '@testing-library/react';
33
import '@testing-library/jest-dom';
4-
import WebMetrics from '../components/WebMetrics';
4+
import WebMetrics from '../components/StateRoute/WebMetrics/WebMetrics';
55
import { useDispatch, Provider } from 'react-redux';
66
import { configureStore } from '@reduxjs/toolkit';
77
import { mainSlice } from '../slices/mainSlice';

0 commit comments

Comments
 (0)