mirror of
https://github.com/t4t5/nostr-react.git
synced 2025-11-25 05:16:24 +01:00
12 lines
313 B
TypeScript
12 lines
313 B
TypeScript
import * as React from 'react';
|
|
import * as ReactDOM from 'react-dom';
|
|
import { Thing } from '../src/index';
|
|
|
|
describe('Thing', () => {
|
|
it('renders without crashing', () => {
|
|
const div = document.createElement('div');
|
|
ReactDOM.render(<Thing />, div);
|
|
ReactDOM.unmountComponentAtNode(div);
|
|
});
|
|
});
|