UNPKG
light-chart
Version:
latest (1.1.4)
1.1.4
1.1.3
1.0.3
1.0.2
1.0.1
1.0.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.1
Charts for mobile visualization.
github.com/antvis/f2
antvis/f2
light-chart
/
test
/
unit
/
global-spec.js
10 lines
(8 loc)
•
240 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
expect =
require
(
'chai'
).
expect
;
const
Global
=
require
(
'../../src/global'
);
const
pkg =
require
(
'../../package.json'
);
describe
(
'Global'
,
() =>
{
it
(
'version sync'
,
() =>
{
expect
(
Global
.
version
).
equal
(pkg.
version
); }); });