@swrve/core
Version:
Core set of Swrve UI Components
13 lines (10 loc) • 418 B
JavaScript
import React from 'react'
import { render } from '@testing-library/react'
import InputAutosize from '../input-autosize'
describe('<InputAutosize />', () => {
// Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
xit('should render', () => {
const { container } = render(<InputAutosize value={'text'} />)
expect(container).toMatchSnapshot()
})
})