parent
464161f411
commit
85b3627d4a
12 changed files with 47458 additions and 10021 deletions
@ -0,0 +1,10 @@ |
||||
module.exports = { |
||||
style: { |
||||
postcss: { |
||||
plugins: [ |
||||
require('tailwindcss'), |
||||
require('autoprefixer'), |
||||
], |
||||
}, |
||||
}, |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -1,8 +0,0 @@ |
||||
import { render, screen } from '@testing-library/react'; |
||||
import App from './App'; |
||||
|
||||
test('renders learn react link', () => { |
||||
render(<App />); |
||||
const linkElement = screen.getByText(/learn react/i); |
||||
expect(linkElement).toBeInTheDocument(); |
||||
}); |
Before Width: | Height: | Size: 2.6 KiB |
@ -1,13 +0,0 @@ |
||||
const reportWebVitals = onPerfEntry => { |
||||
if (onPerfEntry && onPerfEntry instanceof Function) { |
||||
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { |
||||
getCLS(onPerfEntry); |
||||
getFID(onPerfEntry); |
||||
getFCP(onPerfEntry); |
||||
getLCP(onPerfEntry); |
||||
getTTFB(onPerfEntry); |
||||
}); |
||||
} |
||||
}; |
||||
|
||||
export default reportWebVitals; |
@ -1,5 +0,0 @@ |
||||
// jest-dom adds custom jest matchers for asserting on DOM nodes.
|
||||
// allows you to do things like:
|
||||
// expect(element).toHaveTextContent(/react/i)
|
||||
// learn more: https://github.com/testing-library/jest-dom
|
||||
import '@testing-library/jest-dom'; |
@ -0,0 +1,11 @@ |
||||
module.exports = { |
||||
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'], |
||||
darkMode: 'class', // or 'media' or 'class'
|
||||
theme: { |
||||
extend: {}, |
||||
}, |
||||
variants: { |
||||
extend: {}, |
||||
}, |
||||
plugins: [], |
||||
} |
Loading…
Reference in new issue