UNPKG
iham-parsers
Version:
latest (0.2.1)
0.2.1
0.2.0
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
orthoxml, phyloxml and newick parsers for the iHam widget
iham-parsers
/
test
/
example.js
9 lines
(8 loc)
•
303 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
var
assert
=
require
(
'assert'
); describe(
'Array'
,
function
()
{ describe(
'#indexOf()'
,
function
()
{ it(
'should return -1 when the value is not present'
,
function
()
{
assert
.equal(
-1
, [
1
,
2
,
3
].indexOf(
4
)); }); }); });