UNPKG
decojs
Version:
latest (0.9.1)
0.9.1
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.1
0.6.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
Scalable frontend architecture
github.com/decojs/DecoJS
decojs/DecoJS
decojs
/
Specs
/
Modules
/
for_utils
/
when_calling_popTail.js
10 lines
(9 loc)
•
201 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
describe
(
"when calling popTail"
, [
"deco/utils"
],
function
(
utils
){
it
(
"should return a list without the last item"
,
function
(
){
expect
(utils.
popTail
([
1
,
2
,
3
])).
toEqual
([
1
,
2
]); }); });