UNPKG
@neo-one/simulation-react
Version:
canary (1.0.0-alpha.63f054ed)
latest (1.0.0-alpha.18)
next (1.0.0-alpha.2)
1.0.0-alpha.63f054ed
1.0.0-alpha.18
1.0.0-alpha.17
1.0.0-alpha.16
1.0.0-alpha.15
1.0.0-alpha.14
1.0.0-alpha.13
1.0.0-alpha.12
1.0.0-alpha.11
1.0.0-alpha.10
1.0.0-alpha.9
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
1.0.0-alpha.0
0.1.0
0.0.4
0.0.3
0.0.1
NEO•ONE Simulation - Bootstrap a decentralized app with NEO•ONE and React.
neo-one-suite/neo-one
@neo-one/simulation-react
/
template
/
src
/
__tests__
/
Main.test.js
13 lines
(10 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/** *
@jest
-environment jsdom */
import
React
from
'react'
;
import
ReactDOM
from
'react-dom'
;
import
Main
from
'../Main'
;
it
(
'renders without crashing'
,
() =>
{
const
div =
document
.
createElement
(
'div'
);
ReactDOM
.
render
(
<
Main
/>
, div); });