mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
This commit updates the stack of the gitmoji website to Next.js. This was a thing I wanted to do a long time ago. Our current stack was a little bit outdated and had issues with the Developer UX. The concept is the same, the whole site is built into a Static HTML site. Also we can benefit from using React ⚛️ ❤️ The current stack will be: Next.js React Flow Scss Prettier Jest
12 lines
305 B
JavaScript
12 lines
305 B
JavaScript
import renderer from 'react-test-renderer'
|
|
|
|
import GitmojiList from '../index'
|
|
import * as stubs from './stubs'
|
|
|
|
describe('GitmojiList', () => {
|
|
it('should render the component', () => {
|
|
const wrapper = renderer.create(<GitmojiList {...stubs.props} />)
|
|
expect(wrapper).toMatchSnapshot()
|
|
})
|
|
})
|