Skip to content

Commit e80ec57

Browse files
committed
move __fixtures__ directout to parent of __tests__
1 parent 7c10fc6 commit e80ec57

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
],
2828
"scripts": {
2929
"build": "cross-env NODE_ENV=production npm run lint && npx astro build",
30-
"check": "npm run lint && npx astro check",
30+
"check": "npx astro check",
3131
"clean": "FORCE_COLOR=1 npx rimraf dist && FORCE_COLOR=1 npx rimraf .astro",
3232
"dev": "npm run sync && cross-env NODE_ENV=development FORCE_COLOR=1 npx astro dev",
3333
"dev:env": "FORCE_COLOR=1 dotenv -e .env.development -- npm run dev",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
import ContactForm from '../../index.astro'
3+
---
4+
5+
<ContactForm />

src/components/Forms/Contact/client/__tests__/__fixtures__/contactForm.fixture.astro

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/components/Forms/Contact/client/__tests__/testUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect } from 'vitest'
22
import { experimental_AstroContainer as AstroContainer } from 'astro/container'
33
import { TestError } from '@test/errors'
4-
import ContactFormFixture from '@components/Forms/Contact/client/__tests__/__fixtures__/contactForm.fixture.astro'
4+
import ContactFormFixture from '@components/Forms/Contact/client/__fixtures__/contactForm.fixture.astro'
55
import type { ContactFormElement } from '@components/Forms/Contact/client'
66
import { getContactFormElements } from '@components/Forms/Contact/client/selectors'
77
import type { ContactFormElements } from '@components/Forms/Contact/client/@types'

0 commit comments

Comments
 (0)