Skip to content

Conversation

@aditi12200
Copy link
Collaborator

No description provided.

@coveralls
Copy link

coveralls commented Nov 29, 2021

Pull Request Test Coverage Report for Build 1514395049

  • 10 of 14 (71.43%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 73.314%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Components/ProjectForm.js 8 12 66.67%
Totals Coverage Status
Change from base Build 1513292323: -0.2%
Covered Lines: 196
Relevant Lines: 232

💛 - Coveralls

import TextField from "@mui/material/TextField";
import Button from '@mui/material/Button';
import Service from "../Service";
import FilledInput from '@mui/material/FilledInput';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
import FilledInput from '@mui/material/FilledInput';
import FilledInput from "@mui/material/FilledInput";

import Button from '@mui/material/Button';
import Service from "../Service";
import FilledInput from '@mui/material/FilledInput';
import InputAdornment from '@mui/material/InputAdornment';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
import InputAdornment from '@mui/material/InputAdornment';
import InputAdornment from "@mui/material/InputAdornment";

import Service from "../Service";
import FilledInput from '@mui/material/FilledInput';
import InputAdornment from '@mui/material/InputAdornment';
import FormControl from '@mui/material/FormControl';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
import FormControl from '@mui/material/FormControl';
import FormControl from "@mui/material/FormControl";

fullWidth
id="filled-basic"
variant="filled"
style={{ color:'#218888'}}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
style={{ color:'#218888'}}
style={{ color:"#218888"}}

import { ReactSession } from "react-client-session";
import styled from "styled-components";
import TextField from "@mui/material/TextField";
import Button from '@mui/material/Button';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
import Button from '@mui/material/Button';
import Button from "@mui/material/Button";


<button data-testid="submit_button" onClick={handleSubmit}>Submit</button>
<br /><br />
<Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} >
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Missing semicolon.

Suggested change
<Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} >
<Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute();}} >


<button data-testid="submit_button" onClick={handleSubmit}>Submit</button>
<br /><br />
<Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} >
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Missing space before =>.

Suggested change
<Button variant="contained" size="large" data-testid="submit_button" onClick={()=>{handleSubmit();handleRoute()}} >
<Button variant="contained" size="large" data-testid="submit_button" onClick={() =>{handleSubmit();handleRoute()}} >


const history=useHistory();

const handleRoute = () =>{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Missing space after =>.

Suggested change
const handleRoute = () =>{
const handleRoute = () => {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants