mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-07-25 09:25:56 +00:00
Fix unit tests (#248)
* Fix tests - Remove jest tests and add coverage - Rebase master and fix tests * Ignore local .vscode Add clean script * Fix deps - Upgrade deps - Switch to esnext * Move tests to the right folder * Deps cleanup and bump up * Remove root level package.json * Fix grumbles * Remove the labeler action due to https://github.com/actions/labeler/issues/12 * Fix grumbles
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import * as React from 'react';
|
||||
import * as ReactDOM from 'react-dom';
|
||||
import App from './App';
|
||||
|
||||
it('renders without crashing', () => {
|
||||
const div = document.createElement('div');
|
||||
ReactDOM.render(<App />, div);
|
||||
ReactDOM.unmountComponentAtNode(div);
|
||||
});
|
||||
Reference in New Issue
Block a user