Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #628 from w3bdesign/dev
Browse files Browse the repository at this point in the history
Oppdater pakker
  • Loading branch information
w3bdesign authored May 3, 2022
2 parents a47e740 + 691af8f commit ec31844
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 25 deletions.
9 changes: 7 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"ecmaVersion": 12,
"sourceType": "module"
},
"extends": ["next/core-web-vitals", "plugin:cypress/recommended", "plugin:sonarjs/recommended"],
"plugins": ["react", "cypress", "sonarjs", "testing-library", "jest-dom"],
"extends": [
"next/core-web-vitals",
"plugin:cypress/recommended",
"plugin:sonarjs/recommended",
"plugin:react-hooks/recommended"
],
"plugins": ["react", "cypress", "sonarjs", "testing-library", "jest-dom", "react-hooks"],
"globals": {
"cy": true
},
Expand Down
4 changes: 4 additions & 0 deletions __tests__/Layout/MobileMenu.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ describe("MobileMenu", () => {
expect(mobilemenu).toBeInTheDocument();
});

it("Document eksisterer", () => {
expect(document).toBeTruthy();
});

it("Hjem linken eksisterer i menyen", () => {
const hjem = screen.getByText(/hjem/i);
expect(hjem).toBeInTheDocument();
Expand Down
43 changes: 22 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dfweb-v3",
"version": "1.1.4",
"version": "1.1.5",
"private": true,
"scripts": {
"dev": "cross-env NODE_OPTIONS='--inspect' next dev",
Expand Down Expand Up @@ -58,7 +58,7 @@
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "14.1.1",
"@types/jest": "^27.4.1",
"@types/jest": "^27.5.0",
"@types/node": "^17.0.31",
"@types/react": "^18.0.8",
"@types/react-icons": "^3.0.0",
Expand All @@ -74,6 +74,7 @@
"eslint-config-next": "^12.1.6",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-jest-dom": "^4.0.1",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-sonarjs": "^0.13.0",
"eslint-plugin-storybook": "^0.5.11",
"eslint-plugin-testing-library": "^5.3.1",
Expand Down

1 comment on commit ec31844

@vercel
Copy link

@vercel vercel bot commented on ec31844 May 3, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.