diff --git a/README.md b/README.md index 87b6d36..3f8efd1 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@  Social App for connecting with developers & tech enthusiasts. -🕸 [Check it out](https://devbook.onrender.com/) + +🕸 [Check it out!](https://devbook.onrender.com/) ## Tests @@ -19,6 +20,14 @@ yarn cypress and edit your E2E test cases in `cypress/integration/` folder. +### Unit + +Open test runner with: + +```sh +yarn test +``` + ## Deployment We use Github Actions to check push and pull requests. diff --git a/cypress/integration/landing.spec.js b/cypress/integration/landing.spec.js new file mode 100644 index 0000000..884a2b4 --- /dev/null +++ b/cypress/integration/landing.spec.js @@ -0,0 +1,6 @@ +describe('Landing page', () => { + it('contains app name', () => { + cy.visit('/'); + cy.get('h1').contains('DevBook'); + }); +}); diff --git a/cypress/integration/smoke.spec.js b/cypress/integration/smoke.spec.js deleted file mode 100644 index ebf3e7d..0000000 --- a/cypress/integration/smoke.spec.js +++ /dev/null @@ -1,6 +0,0 @@ -describe('smoke', () => { - it('sees learn', () => { - cy.visit('/'); - cy.get('a').contains('Learn'); - }); -}); diff --git a/package.json b/package.json index 52c8b59..7ece26f 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,12 @@ "version": "0.1.0", "private": true, "dependencies": { + "@fortawesome/fontawesome-free": "^5.13.0", + "@fortawesome/fontawesome-svg-core": "^1.2.28", + "@fortawesome/free-brands-svg-icons": "^5.13.0", + "@fortawesome/free-regular-svg-icons": "^5.13.0", + "@fortawesome/free-solid-svg-icons": "^5.13.0", + "@fortawesome/react-fontawesome": "^0.1.9", "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "@testing-library/user-event": "^7.1.2", @@ -38,4 +44,4 @@ "last 1 safari version" ] } -} \ No newline at end of file +} diff --git a/public/index.html b/public/index.html index aa069f2..112696b 100644 --- a/public/index.html +++ b/public/index.html @@ -4,40 +4,18 @@ - + - - -