%PDF- %PDF-
| Direktori : /var/www/projetos/suporte.iigd.com.br/plugins/glpiinventory/lib/lazy.js-0.5.1/spec/ |
| Current File : /var/www/projetos/suporte.iigd.com.br/plugins/glpiinventory/lib/lazy.js-0.5.1/spec/initial_spec.js |
comprehensiveSequenceTest('initial', {
cases: [
{
input: [1, 2, 3, 4, 5],
result: [1, 2, 3, 4]
},
{
input: [1, 2, 3, 4, 5],
params: [2],
result: [1, 2, 3]
}
],
supportsAsync: true,
// #initial uses #getIndex, so access counts won't be consistent between cases
// based on ArrayLikeSequences vs. normal sequences. That said, I do NOT like
// this property and yes it's definitely a hack. Really I want to completely
// refactor these tests... soon.
skipAccessCounts: true
});