Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
githubering182 committed Aug 20, 2024
1 parent 5c2b795 commit f54f154
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
13 changes: 10 additions & 3 deletions frontend-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,23 @@
"scripts": {
"start": "export REACT_APP_STORAGE_PORT=$STORAGE_PORT && export REACT_APP_BACKEND_PORT=$BACKEND_PORT && export REACT_APP_CASE=$CASE && react-scripts start",
"build": "react-scripts build",
"test": "react-scripts REACT_APP_STORAGE_PORT=$STORAGE_PORT && export REACT_APP_BACKEND_PORT=$BACKEND_PORT test",
"test": "REACT_APP_STORAGE_PORT=$STORAGE_PORT && REACT_APP_BACKEND_PORT=$BACKEND_PORT react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src/*",
"compile": "tsc"
},
"eslintConfig": {
"extends": ["react-app", "react-app/jest"]
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [">0.2%", "not dead", "not op_mini all"],
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand Down
9 changes: 5 additions & 4 deletions frontend-app/src/pages/ProjectPage/component.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ afterEach(() => {
test("project page test", async () => {
var nav;
const options = [
{ name: 'upload data', value: 'upload' },
{ name: 'validate data', value: 'validate' },
{ name: 'download data', value: 'download' },
{ name: 'statistics', value: 'stats' },
{ name: "upload data", value: "upload" },
{ name: "validate data", value: "validate" },
{ name: "download data", value: "download" },
{ name: "goals", value: "goals" },
{ name: "statistics", value: "stats" },
];
const component = (admin) => {
const Inner = () => {
Expand Down

0 comments on commit f54f154

Please sign in to comment.