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: { devServer: {
framework: "nuxt", framework: "nuxt",
bundler: "webpack" bundler: "webpack"
} },
specPattern: "cypress/tests/**/*.cy.js"
} }
}) })

View File

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

View File

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

View File

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