mirror of
https://github.com/koel/koel
synced 2024-12-03 01:09:23 +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
|
// 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="">
|
<form data-testid="login-form" class="">
|
||||||
<div class="logo"><img src="@/../img/logo.svg" width="156" height="auto" alt="Koel's logo"></div>
|
<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">
|
<!----> <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 { userStore } from '@/stores'
|
||||||
import { mock } from '@/__tests__/__helpers__'
|
import { mock } from '@/__tests__/__helpers__'
|
||||||
import { shallow } from '@/__tests__/adapter'
|
import { shallow } from '@/__tests__/adapter'
|
||||||
|
|
||||||
describe('components/auth/login-form', () => {
|
describe('components/auth/LoginForm', () => {
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
jest.resetModules()
|
jest.resetModules()
|
||||||
jest.clearAllMocks()
|
jest.clearAllMocks()
|
||||||
|
|
|
@ -27,7 +27,7 @@ import AppHeader from '@/components/layout/app-header.vue'
|
||||||
import AppFooter from '@/components/layout/app-footer/index.vue'
|
import AppFooter from '@/components/layout/app-footer/index.vue'
|
||||||
import EventListeners from '@/components/utils/event-listeners.vue'
|
import EventListeners from '@/components/utils/event-listeners.vue'
|
||||||
import Hotkeys from '@/components/utils/hotkeys.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 MainWrapper from '@/components/layout/main-wrapper/index.vue'
|
||||||
import Overlay from '@/components/ui/overlay.vue'
|
import Overlay from '@/components/ui/overlay.vue'
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ import Vue from 'vue'
|
||||||
import noUISlider from 'nouislider'
|
import noUISlider from 'nouislider'
|
||||||
import { socket, auth } from '@/services'
|
import { socket, auth } from '@/services'
|
||||||
import { userStore, preferenceStore } from '@/stores'
|
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 { SliderElement } from 'koel/types/ui'
|
||||||
import { clickaway } from '@/directives'
|
import { clickaway } from '@/directives'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue