Fix site
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { getAllData } from '../lib/icons';
|
import { getAllData } from '../src/lib/icons';
|
||||||
import { renderHook } from '@testing-library/react-hooks';
|
import { renderHook } from '@testing-library/react-hooks';
|
||||||
import useSearch from '../lib/useSearch';
|
import useSearch from '../src/lib/useSearch';
|
||||||
|
|
||||||
describe('Icon Overview', () => {
|
describe('Icon Overview', () => {
|
||||||
it('can search filter icons', async () => {
|
it('can search filter icons', async () => {
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
import { act, fireEvent, screen } from '@testing-library/react';
|
import { act, fireEvent, screen } from '@testing-library/react';
|
||||||
import Index from '../pages/index';
|
import Index from '../src/pages/index';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { render } from './test-utils';
|
import { render } from './test-utils';
|
||||||
import { getAllData } from '../lib/icons';
|
import { getAllData } from '../src/lib/icons';
|
||||||
|
|
||||||
import App from '../pages/_app';
|
import App from '../src/pages/_app';
|
||||||
|
|
||||||
describe('App', () => {
|
describe('App', () => {
|
||||||
it('renders without crashing', () => {
|
it('renders without crashing', () => {
|
||||||
+1
-1
@@ -15,5 +15,5 @@
|
|||||||
"jsx": "preserve"
|
"jsx": "preserve"
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules"],
|
"exclude": ["node_modules"],
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
|
"include": ["next-env.d.ts", "src/**/*.ts", "src/**/*.tsx"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user