migration: login form

This commit is contained in:
Phan An 2022-04-24 02:11:37 +03:00
parent 4df19abc4a
commit 64d63baf4b
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC
4 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`components/auth/login-form renders properly 1`] = `
exports[`components/auth/LoginForm renders properly 1`] = `
<form data-testid="login-form" class="">
<div class="logo"><img src="@/../img/logo.svg" width="156" height="auto" alt="Koel's logo"></div>
<!----> <input type="email" placeholder="Email Address" autofocus="autofocus" required="required"> <input type="password" placeholder="Password" required="required">

View file

@ -1,9 +1,9 @@
import Component from '@/components/auth/login-form.vue'
import Component from '@/components/auth/LoginForm.vue'
import { userStore } from '@/stores'
import { mock } from '@/__tests__/__helpers__'
import { shallow } from '@/__tests__/adapter'
describe('components/auth/login-form', () => {
describe('components/auth/LoginForm', () => {
afterEach(() => {
jest.resetModules()
jest.clearAllMocks()

View file

@ -27,7 +27,7 @@ import AppHeader from '@/components/layout/app-header.vue'
import AppFooter from '@/components/layout/app-footer/index.vue'
import EventListeners from '@/components/utils/event-listeners.vue'
import Hotkeys from '@/components/utils/hotkeys.vue'
import LoginForm from '@/components/auth/login-form.vue'
import LoginForm from '@/components/auth/LoginForm.vue'
import MainWrapper from '@/components/layout/main-wrapper/index.vue'
import Overlay from '@/components/ui/overlay.vue'

View file

@ -64,7 +64,7 @@ import Vue from 'vue'
import noUISlider from 'nouislider'
import { socket, auth } from '@/services'
import { userStore, preferenceStore } from '@/stores'
import LoginForm from '@/components/auth/login-form.vue'
import LoginForm from '@/components/auth/LoginForm.vue'
import { SliderElement } from 'koel/types/ui'
import { clickaway } from '@/directives'