| function shouldBe(actual, expected) { |
| throw new Error('bad value: ' + actual); |
| let array1 = collect(object); |
| let array2 = collect(object); |
| $vm.toCacheableDictionary(object); |
| let array3 = collect(object); |
| let array4 = collect(object); |
| let array5 = collect(object); |
| shouldBe(JSON.stringify(array1), `["a","b","c","d"]`); |
| shouldBe(JSON.stringify(array2), `["a","b","c","d"]`); |
| shouldBe(JSON.stringify(array3), `["a","b","c","d","e"]`); |
| shouldBe(JSON.stringify(array4), `["a","b","c","d","e"]`); |
| shouldBe(JSON.stringify(array5), `["a","b","c","d","e","f"]`); |