chore: move tests to __test__ dir

This commit is contained in:
Aaron Yarborough 2024-08-22 19:44:11 +01:00
parent 94fe6b5c87
commit bc1b0ea629
8 changed files with 12 additions and 12 deletions

View file

@ -1,6 +1,6 @@
/* eslint-env jest */
import { render } from '@testing-library/react'
import Article from './Article'
import Article from '../../src/components/Article/Article'
import '@testing-library/jest-dom'
describe('Article', () => {

View file

@ -1,6 +1,6 @@
/* eslint-env jest */
import { render } from '@testing-library/react'
import Cv from './Cv'
import Cv from '../../src/components/Cv/Cv'
import '@testing-library/jest-dom'
describe('Cv', () => {

View file

@ -1,6 +1,6 @@
/* eslint-env jest */
import { render, screen } from '@testing-library/react'
import ExternalLink from './ExternalLink'
import ExternalLink from '../../src/components/ExternalLink/ExternalLink'
import '@testing-library/jest-dom'
describe('ExternalLink', () => {

View file

@ -1,7 +1,7 @@
/* eslint-env jest */
import { render } from '@testing-library/react'
import Footer from './Footer'
import '@testing-library/jest-dom'
import Footer from '@/components/Footer/Footer'
describe('Footer', () => {
it('renders without crashing', () => {

View file

@ -1,7 +1,7 @@
/* eslint-env jest */
import { render } from '@testing-library/react'
import Grid from './Grid'
import '@testing-library/jest-dom'
import Grid from '@/components/Grid/Grid'
describe('Grid', () => {
it('renders without crashing', () => {

View file

@ -1,6 +1,6 @@
/* eslint-env jest */
import { render, screen } from '@testing-library/react'
import Header from './Header'
import Header from '../../src/components/Header/Header'
import '@testing-library/jest-dom'
describe('Header', () => {

View file

@ -1,7 +1,7 @@
/* eslint-env jest */
import { render } from '@testing-library/react'
import '@testing-library/jest-dom'
import Writing from '.'
import Writing from '../../src/pages/writing'
jest.mock('next/head', () => {
return {

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://www.aaronjy.me/</loc><lastmod>2024-08-22T15:02:11.183Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/cv/</loc><lastmod>2024-08-22T15:02:11.183Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/</loc><lastmod>2024-08-22T15:02:11.183Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/static-site-on-google-cloud/</loc><lastmod>2024-08-22T15:02:11.183Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/support-content-filte-structure-changes-on-a-static-site/</loc><lastmod>2024-08-22T15:02:11.183Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/</loc><lastmod>2024-08-22T18:43:48.272Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/cv/</loc><lastmod>2024-08-22T18:43:48.272Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/</loc><lastmod>2024-08-22T18:43:48.272Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/static-site-on-google-cloud/</loc><lastmod>2024-08-22T18:43:48.272Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://www.aaronjy.me/writing/support-content-filte-structure-changes-on-a-static-site/</loc><lastmod>2024-08-22T18:43:48.272Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>