Skip to content

Commit

Permalink
test: add basic tests for the utils.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
Coltin Kifer committed Sep 7, 2024
1 parent 2e6a9ca commit bd93301
Show file tree
Hide file tree
Showing 6 changed files with 713 additions and 141 deletions.
17 changes: 12 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@
"extends": ["eslint-config-airbnb", "plugin:prettier/recommended", "prettier"],
"env": {
"browser": true,
"node": true
"node": true,
"jest": true
},
"parser": "@babel/eslint-parser",
"parser": "@typescript-eslint/parser",
"plugins": ["react", "@typescript-eslint"],
"rules": {
"no-restricted-globals": [1, "isFinite"],
"valid-jsdoc": 2,
"valid-jsdoc": [
"error",
{
"requireReturnType": false,
"requireParamType": false
}
],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
Expand All @@ -21,6 +29,5 @@
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": "off",
"react/jsx-props-no-spreading": "off"
},
"plugins": ["react"]
}
}
Loading

0 comments on commit bd93301

Please sign in to comment.