UNPKG
nse
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Get data from National Stock Exchange
github.com/anshulk/nse
anshulk/nse
nse
/
test
/
exports.spec.js
9 lines
(8 loc)
•
254 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
nse =
require
(
'../index'
);
const
expect =
require
(
'chai'
).
expect
;
describe
(
'Exports'
,
() =>
{
it
(
'should export all functions'
,
() =>
{
expect
(nse.
price
).
to
.
be
.
a
(
'function'
),
expect
(nse.
indices
).
to
.
be
.
a
(
'function'
); }); });