Skip to content

Commit

Permalink
fix: unit tests issue (#35)
Browse files Browse the repository at this point in the history
* fix: updated node version

* fix: pipeline issue

* fix: package json dependancy issue

* fix: unit test issue
  • Loading branch information
nadunindunil committed Feb 4, 2024
1 parent 6d4b4ef commit 432a398
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jest-environment-jsdom-sixteen --verbose --coverage --watchAll=false",
"test:watch": "react-scripts test --env=jest-environment-jsdom-sixteen src",
"test": "react-scripts test --verbose --coverage --watchAll=false",
"test:watch": "react-scripts test src",
"eject": "react-scripts eject"
},
"eslintConfig": {
Expand Down
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { Typography, Grid, Box, Button } from '@material-ui/core';
import { makeStyles, ThemeProvider, createMuiTheme } from '@material-ui/core/styles';
import { makeStyles, ThemeProvider, createTheme } from '@material-ui/core/styles';
import ReactJson from 'react-json-view';
import FileCopyIcon from '@material-ui/icons/FileCopy';
import Form from './components/Form';
Expand All @@ -17,7 +17,7 @@ const fontFamilyMetropolis = {
letterSpacing: '0.015rem',
};

const theme = createMuiTheme({
const theme = createTheme({
typography: {
h1: {
...fontFamilyMetropolis,
Expand Down

0 comments on commit 432a398

Please sign in to comment.