Fix AuthorCard component test

This commit is contained in:
mikiher 2024-10-06 18:57:13 +03:00
parent 0bdc2fb05e
commit 6820d9ae4e

View File

@ -5,14 +5,14 @@ import Tooltip from '@/components/ui/Tooltip.vue'
import LoadingSpinner from '@/components/widgets/LoadingSpinner.vue' import LoadingSpinner from '@/components/widgets/LoadingSpinner.vue'
describe('AuthorCard', () => { describe('AuthorCard', () => {
const author = { const authorMount = {
id: 1, id: 1,
name: 'John Doe', name: 'John Doe',
numBooks: 5 numBooks: 5
} }
const propsData = { const propsData = {
author, authorMount,
nameBelow: false nameBelow: false
} }