mirror of
https://github.com/koel/koel
synced 2024-12-01 00:09:17 +00:00
migration: login form
This commit is contained in:
parent
4df19abc4a
commit
64d63baf4b
4 changed files with 5 additions and 5 deletions
|
@ -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">
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue