UNPKG
generator-ionicgenerator
Version:
latest (0.0.0)
0.0.0
An Ionic app, custom with gulp and sass
generator-ionicgenerator
/
generators
/
app
/
templates
/
test.js
10 lines
(9 loc)
•
270 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
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(
5
));
assert
.equal(
-1
, [
1
,
2
,
3
].indexOf(
0
)); }) }) })