Skip to content

Commit

Permalink
refactor: add in jest environment for tests, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
alexl8819 committed Jan 4, 2024
1 parent 0f7e34c commit 1ac32eb
Show file tree
Hide file tree
Showing 10 changed files with 13,494 additions and 1,771 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"env": {
"browser": true,
"es2021": true
"es2021": true,
"jest/globals": true
},
"extends": [
"eslint:recommended"
Expand All @@ -16,6 +17,7 @@
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["jest"],
"rules": {
}
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ Users should be able to:

### Screenshot

![Screenshot](./screenshot.png)
![Mobile Screenshot](./screenshots/mobile.png)
![Desktop Screenshot](./screenshots/desktop.png)

### Links

- Live Site URL: [Age Calculator App](https://slightlyfunctional.gitlab.io/age-calculator-app/)
- Live Site URL: [Age Calculator App](https://alexl8819.github.io/age-calculator-app/)

## My process

Expand Down Expand Up @@ -66,5 +67,4 @@ My current focus is to follow best practices and ensure code is readable, access

## Author

- Website - [slightlyfunctional.com](https://slightlyfunctional.com)
- Frontend Mentor - [@slightlyfunctional](https://www.frontendmentor.io/profile/slightlyfunctional)
- Frontend Mentor - [@alexl8819](https://www.frontendmentor.io/profile/alexl8819)
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<main id="app"></main>
<footer class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">slightlyfunctional</a>.
Coded by <a href="#">alexl8819</a>.
</footer>
<script type="module" src="/src/main.js"></script>
</body>
Expand Down
Loading

0 comments on commit 1ac32eb

Please sign in to comment.