Skip to content
Snippets Groups Projects
Commit 15563fef authored by Henrik's avatar Henrik
Browse files

fix: unit test and img src path

parent 0ac1f884
No related branches found
No related tags found
1 merge request!66Feat/bankid login
Pipeline #282205 failed
...@@ -13,7 +13,7 @@ import LoginForm from '@/components/Login/LoginForm.vue' ...@@ -13,7 +13,7 @@ import LoginForm from '@/components/Login/LoginForm.vue'
<style scoped> <style scoped>
.containers { .containers {
background: url('./src/assets/wave.svg'); background: url('@/assets/wave.svg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
height: 100vh; height: 100vh;
......
...@@ -43,7 +43,7 @@ describe('LoginPrompt', () => { ...@@ -43,7 +43,7 @@ describe('LoginPrompt', () => {
await router.isReady(); // Ensure the router is ready before asserting await router.isReady(); // Ensure the router is ready before asserting
const loginLink = getByText('Login'); const loginLink = getByText('Logg inn');
expect(loginLink).toBeDefined(); // Check if the 'Login' link is rendered expect(loginLink).toBeDefined(); // Check if the 'Login' link is rendered
}); });
......
...@@ -13,7 +13,7 @@ import SignUpForm from '@/components/SignUp/SignUpForm.vue' ...@@ -13,7 +13,7 @@ import SignUpForm from '@/components/SignUp/SignUpForm.vue'
<style scoped> <style scoped>
.containers { .containers {
background: url('./src/assets/wave.svg'); background: url('@/assets/wave.svg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
height: 100vh; height: 100vh;
......
...@@ -59,7 +59,7 @@ const submitForm = async () => { ...@@ -59,7 +59,7 @@ const submitForm = async () => {
<style scoped> <style scoped>
.containers { .containers {
background: url('./src/assets/wave.svg'); background: url('@/assets/wave.svg');
background-size: cover; background-size: cover;
height: 100vh; height: 100vh;
display: flex; display: flex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment