diff --git a/src/client/components/Status.tsx b/src/client/components/Status.tsx index 5c1991e..7d5026e 100644 --- a/src/client/components/Status.tsx +++ b/src/client/components/Status.tsx @@ -50,7 +50,7 @@ function Map({ entries }: { entries: Models.IEntry[] }) { ) diff --git a/src/client/css/start.css b/src/client/css/start.css index b197310..67b3530 100644 --- a/src/client/css/start.css +++ b/src/client/css/start.css @@ -57,6 +57,10 @@ position: relative; z-index: 0; + &.emptyData::after { + content: none; + } + &::after { content: ""; position: absolute; diff --git a/src/client/pages/Start.tsx b/src/client/pages/Start.tsx index 5a4bd91..cbc6ecf 100644 --- a/src/client/pages/Start.tsx +++ b/src/client/pages/Start.tsx @@ -144,9 +144,9 @@ function Start() { -
+
-
+
image1
image2
diff --git a/src/tests/login.test.ts b/src/tests/login.test.ts index 4bb5699..e7a593e 100644 --- a/src/tests/login.test.ts +++ b/src/tests/login.test.ts @@ -25,7 +25,7 @@ describe('Login', () => { try { response = await axios({ method: "post", - url: "/login/csrf", + url: "http://localhost:80/login/csrf", headers: { "content-type": "application/x-www-form-urlencoded", "x-requested-with": "XMLHttpRequest" @@ -34,6 +34,7 @@ describe('Login', () => { serverStatus = response.status; } catch (error) { console.error(error); + throw Error("fail"); } @@ -79,7 +80,8 @@ describe('Login', () => { it('test invalid credentials to return error', async () => { try { - userDataWithToken.csrfToken = csrfToken + userDataWithToken.csrfToken = csrfToken; + console.log("csrfToken %o", userDataWithToken.csrfToken); await axios.post('http://localhost:80/login', qs.stringify(userDataWithToken)); } catch (error) { const axiosError = error as AxiosError;