Move test files to a separate directory

This commit is contained in:
mikiher 2024-04-30 11:30:00 +03:00
parent ff27c0b58b
commit 2eb19d46d5
4 changed files with 9 additions and 8 deletions

View File

@ -5,6 +5,7 @@ module.exports = defineConfig({
devServer: {
framework: "nuxt",
bundler: "webpack"
}
},
specPattern: "cypress/tests/**/*.cy.js"
}
})

View File

@ -1,8 +1,8 @@
// Import the necessary dependencies
import AuthorCard from './AuthorCard.vue'
import AuthorImage from '../covers/AuthorImage.vue'
import Tooltip from '../ui/Tooltip.vue'
import LoadingSpinner from '../widgets/LoadingSpinner.vue'
import AuthorCard from '@/components/cards/AuthorCard.vue'
import AuthorImage from '@/components/covers/AuthorImage.vue'
import Tooltip from '@/components/ui/Tooltip.vue'
import LoadingSpinner from '@/components/widgets/LoadingSpinner.vue'
describe('AuthorCard', () => {
const author = {

View File

@ -1,5 +1,5 @@
import LazySeriesCard from './LazySeriesCard.vue'
import GroupCover from '../covers/GroupCover.vue'
import LazySeriesCard from '@/components/cards/LazySeriesCard.vue'
import GroupCover from '@/components/covers/GroupCover.vue'
describe('LazySeriesCard', () => {
const series = {

View File

@ -1,4 +1,4 @@
import NarratorCard from './NarratorCard.vue'
import NarratorCard from '@/components/cards/NarratorCard.vue'
describe('<NarratorCard />', () => {
const narrator = {