UNPKG
react-sparkle
Version:
latest (2.0.0)
2.0.0
2.0.0-alpha.0
1.1.1
1.1.0
1.0.9
1.0.9-alpha.0
1.0.8
1.0.7
1.0.7-alpha.8
1.0.7-alpha.7
1.0.7-alpha.6
1.0.7-alpha.5
1.0.7-alpha.4
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.3
0.0.2
0.0.1
A React component to increase the number of sparkles in your app
github.com/kmjennison/react-sparkle
react-sparkle
/
src
/
__tests__
/
SparkleComponent.test.js
11 lines
(9 loc)
•
290 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
React
from
'react'
import
{ render }
from
'@testing-library/react'
describe
(
'SparkleComponent'
,
() =>
{
// eslint-disable-next-line jest/expect-expect
it
(
'renders without error'
,
() =>
{
const
Sparkle
=
require
(
'../SparkleComponent'
).
default
render
(
<
Sparkle
/>
) }) })