diff --git a/src/frontend/apps/desk/package.json b/src/frontend/apps/desk/package.json index 884131d..78da5b0 100644 --- a/src/frontend/apps/desk/package.json +++ b/src/frontend/apps/desk/package.json @@ -8,7 +8,7 @@ "build:ci": "cp .env.development .env.local && yarn build", "build-theme": "cunningham -g css,ts -o src/cunningham --utility-classes", "start": "npx -y serve@latest out", - "lint": "next lint", + "lint": "tsc --noEmit && next lint", "prettier": "prettier --write .", "stylelint": "stylelint \"**/*.css\"", "test": "jest", diff --git a/src/frontend/apps/desk/src/api/__tests__/fetchApi.test.tsx b/src/frontend/apps/desk/src/api/__tests__/fetchApi.test.tsx index 72077d6..d08d86d 100644 --- a/src/frontend/apps/desk/src/api/__tests__/fetchApi.test.tsx +++ b/src/frontend/apps/desk/src/api/__tests__/fetchApi.test.tsx @@ -43,7 +43,7 @@ describe('fetchAPI', () => { }, }); - useAuthStore.setState({ userData: { email: 'test@test.com' } }); + useAuthStore.setState({ userData: { email: 'test@test.com', id: '1234' } }); fetchMock.mock('http://some.api.url/api/v1.0/some/url', 401);