mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
test(util) rm forEach
This commit is contained in:
parent
3474059d00
commit
7eca5063d2
1 changed files with 0 additions and 20 deletions
|
|
@ -153,26 +153,6 @@
|
|||
});
|
||||
|
||||
});
|
||||
|
||||
describe('forEach', function() {
|
||||
it('should call arrays forEach on any type', function() {
|
||||
var str = '',
|
||||
obj = {
|
||||
0: 'a',
|
||||
1: 'b',
|
||||
2: 'c',
|
||||
length: 3
|
||||
};
|
||||
|
||||
Util.forEach(obj, function(item) {
|
||||
str += item;
|
||||
});
|
||||
|
||||
str.should.be.equal('abc');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue