Skip to content

Commit

Permalink
More changes to pass e2e deployment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288347 committed Apr 2, 2024
1 parent 7d24f8d commit d5e8fac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
- run: npm --prefix questions ci
- run: npm --prefix gatewayservice ci
- run: npm --prefix webapp ci
- run: npm --prefix users test -- --coverage
- run: npm --prefix questions test -- --coverage
- run: npm --prefix gatewayservice test -- --coverage
- run: npm --prefix webapp test -- --coverage
- name: Analyze with SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
Expand Down
3 changes: 1 addition & 2 deletions webapp/src/pages/MultiplayerGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import axios from 'axios';
import { Container, Button, CssBaseline, Grid, Typography, CircularProgress } from '@mui/material';
import CheckIcon from '@mui/icons-material/Check';
import ClearIcon from '@mui/icons-material/Clear';
import { useNavigate } from 'react-router-dom';
import { SessionContext } from '../SessionContext';
import { useContext } from 'react';
import Confetti from 'react-confetti';
Expand Down Expand Up @@ -84,7 +83,7 @@ const Game = () => {
setShouldRedirect(true);
setQuestionCountdownRunning(false);
}
}, [round, startNewRound]);
}, [round]);

// stablish if the confetti must show or not
React.useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/pages/Statistics.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from 'react';
import axios from 'axios';
import { Container, Typography, Box, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Button } from '@mui/material';
import { Container, Typography, Box, Table, TableBody, TableCell, TableContainer, TableRow, Button } from '@mui/material';

import { SessionContext } from '../SessionContext';
import { useContext } from 'react';
Expand Down

0 comments on commit d5e8fac

Please sign in to comment.