hughfdjackson/immutable

2014-01-08 09:39:07
6.0
7.0
8.0
✓9.0
10.0
4.0
23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop ok 53 im.object .mutable should return a mutable version of the immutable object ok 54 im.object .toJSON should be an alias for mutable ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object ok 57 im.object .forEach should pass val, key, object, but return nothing ok 58 im.object .every should return false if the predicate does once ok 59 im.object .every should return true if predicate always is satisfied ok 60 im.object .every should pass val, key, object ok 61 im.object .some should return true if the predicate does once ok 62 im.object .some should return false if predicate never is satisfied ok 63 im.object .some should pass val, key, object ok 64 im.object .filter should filter a collection ok 65 im.object .filter should pass val, key, object ok 66 im.object .reduce should reduce over collection in any order ok 67 im.object .reduce should use "first" item as seed if none passed ok 68 im.object .equal should return false if the value is not an immutable object ok 69 im.object .equal should equal itself ok 70 im.object .equal should make two empty objects equal ok 71 im.object .equal should return false for two structurally different objects ok 72 im.object .equal should return true for two structurally equal objects ok 73 im.object .equal should return false for two different mutable objects as properties ok 74 im.object .equal should recurse with equal ok 75 im.object .equal shouldn't call equal on a non-immutable object ok 76 im.object .equal should return false if there are an unequal number of properties # tests 76 # pass 76 # fail 0
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop ok 53 im.object .mutable should return a mutable version of the immutable object ok 54 im.object .toJSON should be an alias for mutable ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object ok 57 im.object .forEach should pass val, key, object, but return nothing ok 58 im.object .every should return false if the predicate does once ok 59 im.object .every should return true if predicate always is satisfied ok 60 im.object .every should pass val, key, object ok 61 im.object .some should return true if the predicate does once ok 62 im.object .some should return false if predicate never is satisfied ok 63 im.object .some should pass val, key, object ok 64 im.object .filter should filter a collection ok 65 im.object .filter should pass val, key, object ok 66 im.object .reduce should reduce over collection in any order ok 67 im.object .reduce should use "first" item as seed if none passed ok 68 im.object .equal should return false if the value is not an immutable object ok 69 im.object .equal should equal itself ok 70 im.object .equal should make two empty objects equal ok 71 im.object .equal should return false for two structurally different objects ok 72 im.object .equal should return true for two structurally equal objects ok 73 im.object .equal should return false for two different mutable objects as properties ok 74 im.object .equal should recurse with equal ok 75 im.object .equal shouldn't call equal on a non-immutable object ok 76 im.object .equal should return false if there are an unequal number of properties # tests 76 # pass 76 # fail 0
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop ok 53 im.object .mutable should return a mutable version of the immutable object ok 54 im.object .toJSON should be an alias for mutable ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object ok 57 im.object .forEach should pass val, key, object, but return nothing ok 58 im.object .every should return false if the predicate does once ok 59 im.object .every should return true if predicate always is satisfied ok 60 im.object .every should pass val, key, object ok 61 im.object .some should return true if the predicate does once ok 62 im.object .some should return false if predicate never is satisfied ok 63 im.object .some should pass val, key, object ok 64 im.object .filter should filter a collection ok 65 im.object .filter should pass val, key, object ok 66 im.object .reduce should reduce over collection in any order ok 67 im.object .reduce should use "first" item as seed if none passed ok 68 im.object .equal should return false if the value is not an immutable object ok 69 im.object .equal should equal itself ok 70 im.object .equal should make two empty objects equal ok 71 im.object .equal should return false for two structurally different objects ok 72 im.object .equal should return true for two structurally equal objects ok 73 im.object .equal should return false for two different mutable objects as properties ok 74 im.object .equal should recurse with equal ok 75 im.object .equal shouldn't call equal on a non-immutable object ok 76 im.object .equal should return false if there are an unequal number of properties # tests 76 # pass 76 # fail 0
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop ok 53 im.object .mutable should return a mutable version of the immutable object ok 54 im.object .toJSON should be an alias for mutable ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object ok 57 im.object .forEach should pass val, key, object, but return nothing ok 58 im.object .every should return false if the predicate does once ok 59 im.object .every should return true if predicate always is satisfied ok 60 im.object .every should pass val, key, object ok 61 im.object .some should return true if the predicate does once ok 62 im.object .some should return false if predicate never is satisfied ok 63 im.object .some should pass val, key, object ok 64 im.object .filter should filter a collection ok 65 im.object .filter should pass val, key, object ok 66 im.object .reduce should reduce over collection in any order ok 67 im.object .reduce should use "first" item as seed if none passed ok 68 im.object .equal should return false if the value is not an immutable object ok 69 im.object .equal should equal itself ok 70 im.object .equal should make two empty objects equal ok 71 im.object .equal should return false for two structurally different objects ok 72 im.object .equal should return true for two structurally equal objects ok 73 im.object .equal should return false for two different mutable objects as properties ok 74 im.object .equal should recurse with equal ok 75 im.object .equal shouldn't call equal on a non-immutable object ok 76 im.object .equal should return false if there are an unequal number of properties # tests 76 # pass 76 # fail 0
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop ok 53 im.object .mutable should return a mutable version of the immutable object ok 54 im.object .toJSON should be an alias for mutable ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object ok 57 im.object .forEach should pass val, key, object, but return nothing ok 58 im.object .every should return false if the predicate does once ok 59 im.object .every should return true if predicate always is satisfied ok 60 im.object .every should pass val, key, object ok 61 im.object .some should return true if the predicate does once ok 62 im.object .some should return false if predicate never is satisfied ok 63 im.object .some should pass val, key, object ok 64 im.object .filter should filter a collection ok 65 im.object .filter should pass val, key, object ok 66 im.object .reduce should reduce over collection in any order ok 67 im.object .reduce should use "first" item as seed if none passed ok 68 im.object .equal should return false if the value is not an immutable object ok 69 im.object .equal should equal itself ok 70 im.object .equal should make two empty objects equal ok 71 im.object .equal should return false for two structurally different objects ok 72 im.object .equal should return true for two structurally equal objects ok 73 im.object .equal should return false for two different mutable objects as properties ok 74 im.object .equal should recurse with equal ok 75 im.object .equal shouldn't call equal on a non-immutable object ok 76 im.object .equal should return false if there are an unequal number of properties # tests 76 # pass 76 # fail 0
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop ok 53 im.object .mutable should return a mutable version of the immutable object ok 54 im.object .toJSON should be an alias for mutable ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object ok 57 im.object .forEach should pass val, key, object, but return nothing ok 58 im.object .every should return false if the predicate does once ok 59 im.object .every should return true if predicate always is satisfied ok 60 im.object .every should pass val, key, object ok 61 im.object .some should return true if the predicate does once ok 62 im.object .some should return false if predicate never is satisfied ok 63 im.object .some should pass val, key, object ok 64 im.object .filter should filter a collection ok 65 im.object .filter should pass val, key, object ok 66 im.object .reduce should reduce over collection in any order ok 67 im.object .reduce should use "first" item as seed if none passed ok 68 im.object .equal should return false if the value is not an immutable object ok 69 im.object .equal should equal itself ok 70 im.object .equal should make two empty objects equal ok 71 im.object .equal should return false for two structurally different objects ok 72 im.object .equal should return true for two structurally equal objects ok 73 im.object .equal should return false for two different mutable objects as properties ok 74 im.object .equal should recurse with equal ok 75 im.object .equal shouldn't call equal on a non-immutable object ok 76 im.object .equal should return false if there are an unequal number of properties # tests 76 # pass 76 # fail 0
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop ok 53 im.object .mutable should return a mutable version of the immutable object ok 54 im.object .toJSON should be an alias for mutable ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object ok 57 im.object .forEach should pass val, key, object, but return nothing ok 58 im.object .every should return false if the predicate does once ok 59 im.object .every should return true if predicate always is satisfied ok 60 im.object .every should pass val, key, object ok 61 im.object .some should return true if the predicate does once ok 62 im.object .some should return false if predicate never is satisfied ok 63 im.object .some should pass val, key, object ok 64 im.object .filter should filter a collection ok 65 im.object .filter should pass val, key, object ok 66 im.object .reduce should reduce over collection in any order ok 67 im.object .reduce should use "first" item as seed if none passed ok 68 im.object .equal should return false if the value is not an immutable object ok 69 im.object .equal should equal itself ok 70 im.object .equal should make two empty objects equal ok 71 im.object .equal should return false for two structurally different objects ok 72 im.object .equal should return true for two structurally equal objects ok 73 im.object .equal should return false for two different mutable objects as properties ok 74 im.object .equal should recurse with equal ok 75 im.object .equal shouldn't call equal on a non-immutable object ok 76 im.object .equal should return false if there are an unequal number of properties # tests 76 # pass 76 # fail 0 1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop ok 53 im.object .mutable should return a mutable version of the immutable object ok 54 im.object .toJSON should be an alias for mutable ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object ok 57 im.object .forEach should pass val, key, object, but return nothing ok 58 im.object .every should return false if the predicate does once ok 59 im.object .every should return true if predicate always is satisfied ok 60 im.object .every should pass val, key, object ok 61 im.object .some should return true if the predicate does once ok 62 im.object .some should return false if predicate never is satisfied ok 63 im.object .some should pass val, key, object ok 64 im.object .filter should filter a collection ok 65 im.object .filter should pass val, key, object ok 66 im.object .reduce should reduce over collection in any order ok 67 im.object .reduce should use "first" item as seed if none passed ok 68 im.object .equal should return false if the value is not an immutable object ok 69 im.object .equal should equal itself ok 70 im.object .equal should make two empty objects equal ok 71 im.object .equal should return false for two structurally different objects ok 72 im.object .equal should return true for two structurally equal objects ok 73 im.object .equal should return false for two different mutable objects as properties ok 74 im.object .equal should recurse with equal ok 75 im.object .equal shouldn't call equal on a non-immutable object ok 76 im.object .equal should return false if there are an unequal number of properties # tests 76 # pass 76 # fail 0
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop not ok 53 im.object .mutable should return a mutable version of the immutable object Error: Out of stack space at emit (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4307:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:5248:26) 1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied not ok 54 im.object .toJSON should be an alias for mutable Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4307:5) not ok 55 im.object .map should create an immutable object with updated values Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4307:5) ok 56 im.object .forEach should pass val, key, object, but return nothing ok 57 im.object .every should return false if the predicate does once ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop not ok 53 im.object .mutable should return a mutable version of the immutable object Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4307:5) not ok 54 im.object .toJSON should be an alias for mutable Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4307:5) ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object not ok 57 im.object .forEach should pass val, key, object, but return nothing Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4307:5) not ok 58 im.object .every should return false if the predicate does once Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4307:5) not ok 59 im.object .some should return true if the predicate does once Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/e4f21c2dd32cac00f813a00fb2aa9d301c9e923c.1389173054576/node_modules/mocha/mocha.js:4307:5) ok 60 im.object .filter should filter a collection
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined ok 52 im.object .has should return true or false, indicating whether a property exists on the prop ok 53 im.object .mutable should return a mutable version of the immutable object ok 54 im.object .toJSON should be an alias for mutable ok 55 im.object .map should create an immutable object with updated values ok 56 im.object .map should pass val, key, object ok 57 im.object .forEach should pass val, key, object, but return nothing ok 58 im.object .every should return false if the predicate does once ok 59 im.object .every should return true if predicate always is satisfied ok 60 im.object .every should pass val, key, object ok 61 im.object .some should return true if the predicate does once ok 62 im.object .some should return false if predicate never is satisfied ok 63 im.object .some should pass val, key, object ok 64 im.object .filter should filter a collection ok 65 im.object .filter should pass val, key, object ok 66 im.object .reduce should reduce over collection in any order ok 67 im.object .reduce should use "first" item as seed if none passed ok 68 im.object .equal should return false if the value is not an immutable object ok 69 im.object .equal should equal itself ok 70 im.object .equal should make two empty objects equal ok 71 im.object .equal should return false for two structurally different objects ok 72 im.object .equal should return true for two structurally equal objects ok 73 im.object .equal should return false for two different mutable objects as properties ok 74 im.object .equal should recurse with equal ok 75 im.object .equal shouldn't call equal on a non-immutable object ok 76 im.object .equal should return false if there are an unequal number of properties # tests 76 # pass 76 # fail 0
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API ok 42 im.object has the right constructor ok 43 im.object freezes object on creation if Object.freeze is available ok 44 im.object creation should be a newless constructor ok 45 im.object creation creates an empty object if no props are passed ok 46 im.object creation creates an object with props passed in ok 47 im.object creation shouldn't copy over properties on the prototype ok 48 im.object .immutable should be set to true ok 49 im.object .assoc returns a new immutable object with props updated ok 50 im.object .dissoc returns a new immutable object with props removed ok 51 im.object .get should return a value of a stored property, or else undefined not ok 52 im.object .get should return a value of a stored property, or else undefined not ok 53 im.object .get should return a value of a stored property, or else undefined not ok 54 im.object .get should return a value of a stored property, or else undefined ok 55 im.object .has should return true or false, indicating whether a property exists on the prop not ok 56 im.object .has should return true or false, indicating whether a property exists on the prop not ok 57 im.object .has should return true or false, indicating whether a property exists on the prop not ok 58 im.object .has should return true or false, indicating whether a property exists on the prop ok 59 im.object .mutable should return a mutable version of the immutable object not ok 60 im.object .mutable should return a mutable version of the immutable object not ok 61 im.object .mutable should return a mutable version of the immutable object not ok 62 im.object .mutable should return a mutable version of the immutable object ok 63 im.object .toJSON should be an alias for mutable ok 64 im.object .map should create an immutable object with updated values not ok 65 im.object .map should create an immutable object with updated values not ok 66 im.object .map should create an immutable object with updated values not ok 67 im.object .map should create an immutable object with updated values ok 68 im.object .forEach should pass val, key, object, but return nothing not ok 69 im.object .forEach should pass val, key, object, but return nothing not ok 70 im.object .forEach should pass val, key, object, but return nothing not ok 71 im.object .forEach should pass val, key, object, but return nothing ok 72 im.object .every should return false if the predicate does once not ok 73 im.object .every should return true if predicate always is satisfied not ok 74 im.object .every should pass val, key, object not ok 75 im.object .every should pass val, key, object ok 76 im.object .filter should filter a collection ok 77 im.object .filter should pass val, key, object not ok 78 im.object .filter should pass val, key, object not ok 79 im.object .filter should pass val, key, object not ok 80 im.object .filter should pass val, key, object # tests 81 # pass 59 # fail 22
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once ok 21 im.array .some should return false if predicate never is satisfied ok 22 im.array .some should pass val, key, array ok 23 im.array .filter should filter a collection ok 24 im.array .filter should pass val, key, array ok 25 im.array .reduce should reduce over collection in left to right order ok 26 im.array .reduce should use first item as seed if none passed ok 27 im.array .reduceRight should reduce over collection in right to left order ok 28 im.array .reduceRight should use first item as seed if none passed ok 29 im.array .equal should return false if the value is not an immutable object ok 30 im.array .equal should equal itself ok 31 im.array .equal should make two empty objects equal ok 32 im.array .equal should return false for two structurally different objects ok 33 im.array .equal should return true for two structurally equal objects ok 34 im.array .equal should return false for two different mutable objects as properties ok 35 im.array .equal should recurse with equal ok 36 im.array .push should add on a new array member at the end ok 37 im.array .indexOf should return the indexOf an element found with .equal ok 38 im.array .indexOf should return the indexOf an element with === ok 39 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 40 im.array .indexOf should return the first index ok 41 immutable should export API not ok 42 im.object has the right constructor # tests 45 # pass 42 # fail 3
1..76 ok 1 isImmutable should return true on immutable objects ok 2 isImmutable should return false on data that has an immutable flag ok 3 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 4 isImmutable should return false on all js primitives ok 5 im.array freezes arrays on creation if available ok 6 im.array .immutable should be set to true ok 7 im.array .assoc should allow a new version to be made with added properties ok 8 im.array .assoc should return an im.array ok 9 im.array .assoc shouldn't copy over properties on the prototype ok 10 im.array .length should get updated to be the largest int + 1 ok 11 im.array .mutable should return an array with all properties copied ok 12 im.array .mutable should represent gaps with missing data ok 13 im.array .toJSON should be an alias for .mutable ok 14 im.array .map should create an immutable object with updated values ok 15 im.array .map should pass val, key, array ok 16 im.array .forEach should pass val, key, array, but return nothing ok 17 im.array .every should return false if the predicate does once ok 18 im.array .every should return true if predicate always is satisfied ok 19 im.array .every should pass val, key, array ok 20 im.array .some should return true if the predicate does once not ok 21 im.array .some should return true if the predicate does once not ok 22 im.array .some should return false if predicate never is satisfied not ok 23 im.array .some should pass val, key, array ok 24 im.array .filter should filter a collection not ok 25 im.array .filter should pass val, key, array not ok 26 im.array .filter should pass val, key, array not ok 27 im.array .filter should pass val, key, array ok 28 im.array .equal should return false if the value is not an immutable object not ok 29 im.array .equal should return false if the value is not an immutable object not ok 30 im.array .equal should equal itself not ok 31 im.array .equal should make two empty objects equal ok 32 im.array .push should add on a new array member at the end not ok 33 im.array .indexOf should return the indexOf an element found with .equal not ok 34 im.array .indexOf should return the indexOf an element found with .equal not ok 35 im.array .indexOf should return the indexOf an element found with .equal ok 36 immutable should export API not ok 37 immutable should export API not ok 38 immutable should export API not ok 39 immutable should export API ok 40 im.object has the right constructor not ok 41 im.object freezes object on creation if Object.freeze is available not ok 42 im.object freezes object on creation if Object.freeze is available not ok 43 im.object freezes object on creation if Object.freeze is available # tests 43 # pass 25 # fail 18
2013-06-20 22:24:38
6.0
7.0
8.0
✓9.0
10.0
✓23.0
4.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object .forEach should pass val, key, object, but return nothing ok 54 im.object .every should return false if the predicate does once ok 55 im.object .every should return true if predicate always is satisfied ok 56 im.object .every should pass val, key, object ok 57 im.object .some should return true if the predicate does once ok 58 im.object .some should return false if predicate never is satisfied ok 59 im.object .some should pass val, key, object ok 60 im.object .filter should filter a collection ok 61 im.object .filter should pass val, key, object ok 62 im.object .reduce should reduce over collection in any order ok 63 im.object .reduce should use "first" item as seed if none passed ok 64 im.object .equal should return false if the value is not an immutable object ok 65 im.object .equal should equal itself ok 66 im.object .equal should make two empty objects equal ok 67 im.object .equal should return false for two structurally different objects ok 68 im.object .equal should return true for two structurally equal objects ok 69 im.object .equal should return false for two different mutable objects as properties ok 70 im.object .equal should recurse with equal ok 71 im.object .equal shouldn't call equal on a non-immutable object ok 72 im.object .equal should return false if there are an unequal number of properties ok 73 isImmutable should return true on immutable objects ok 74 isImmutable should return false on data that has an immutable flag ok 75 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 76 isImmutable should return false on all js primitives # tests 76 # pass 76 # fail 0
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object .forEach should pass val, key, object, but return nothing ok 54 im.object .every should return false if the predicate does once ok 55 im.object .every should return true if predicate always is satisfied ok 56 im.object .every should pass val, key, object ok 57 im.object .some should return true if the predicate does once ok 58 im.object .some should return false if predicate never is satisfied ok 59 im.object .some should pass val, key, object ok 60 im.object .filter should filter a collection ok 61 im.object .filter should pass val, key, object ok 62 im.object .reduce should reduce over collection in any order ok 63 im.object .reduce should use "first" item as seed if none passed ok 64 im.object .equal should return false if the value is not an immutable object ok 65 im.object .equal should equal itself ok 66 im.object .equal should make two empty objects equal ok 67 im.object .equal should return false for two structurally different objects ok 68 im.object .equal should return true for two structurally equal objects ok 69 im.object .equal should return false for two different mutable objects as properties ok 70 im.object .equal should recurse with equal ok 71 im.object .equal shouldn't call equal on a non-immutable object ok 72 im.object .equal should return false if there are an unequal number of properties ok 73 isImmutable should return true on immutable objects ok 74 isImmutable should return false on data that has an immutable flag ok 75 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 76 isImmutable should return false on all js primitives # tests 76 # pass 76 # fail 0
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object .forEach should pass val, key, object, but return nothing ok 54 im.object .every should return false if the predicate does once ok 55 im.object .every should return true if predicate always is satisfied ok 56 im.object .every should pass val, key, object ok 57 im.object .some should return true if the predicate does once ok 58 im.object .some should return false if predicate never is satisfied ok 59 im.object .some should pass val, key, object ok 60 im.object .filter should filter a collection ok 61 im.object .filter should pass val, key, object ok 62 im.object .reduce should reduce over collection in any order ok 63 im.object .reduce should use "first" item as seed if none passed ok 64 im.object .equal should return false if the value is not an immutable object ok 65 im.object .equal should equal itself ok 66 im.object .equal should make two empty objects equal ok 67 im.object .equal should return false for two structurally different objects ok 68 im.object .equal should return true for two structurally equal objects ok 69 im.object .equal should return false for two different mutable objects as properties ok 70 im.object .equal should recurse with equal ok 71 im.object .equal shouldn't call equal on a non-immutable object ok 72 im.object .equal should return false if there are an unequal number of properties ok 73 isImmutable should return true on immutable objects ok 74 isImmutable should return false on data that has an immutable flag ok 75 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 76 isImmutable should return false on all js primitives # tests 76 # pass 76 # fail 0
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object .forEach should pass val, key, object, but return nothing ok 54 im.object .every should return false if the predicate does once ok 55 im.object .every should return true if predicate always is satisfied ok 56 im.object .every should pass val, key, object ok 57 im.object .some should return true if the predicate does once ok 58 im.object .some should return false if predicate never is satisfied ok 59 im.object .some should pass val, key, object ok 60 im.object .filter should filter a collection ok 61 im.object .filter should pass val, key, object ok 62 im.object .reduce should reduce over collection in any order ok 63 im.object .reduce should use "first" item as seed if none passed ok 64 im.object .equal should return false if the value is not an immutable object ok 65 im.object .equal should equal itself ok 66 im.object .equal should make two empty objects equal ok 67 im.object .equal should return false for two structurally different objects ok 68 im.object .equal should return true for two structurally equal objects ok 69 im.object .equal should return false for two different mutable objects as properties ok 70 im.object .equal should recurse with equal ok 71 im.object .equal shouldn't call equal on a non-immutable object ok 72 im.object .equal should return false if there are an unequal number of properties ok 73 isImmutable should return true on immutable objects ok 74 isImmutable should return false on data that has an immutable flag ok 75 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 76 isImmutable should return false on all js primitives # tests 76 # pass 76 # fail 0
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object .forEach should pass val, key, object, but return nothing ok 54 im.object .every should return false if the predicate does once ok 55 im.object .every should return true if predicate always is satisfied ok 56 im.object .every should pass val, key, object ok 57 im.object .some should return true if the predicate does once ok 58 im.object .some should return false if predicate never is satisfied ok 59 im.object .some should pass val, key, object ok 60 im.object .filter should filter a collection ok 61 im.object .filter should pass val, key, object ok 62 im.object .reduce should reduce over collection in any order ok 63 im.object .reduce should use "first" item as seed if none passed ok 64 im.object .equal should return false if the value is not an immutable object ok 65 im.object .equal should equal itself ok 66 im.object .equal should make two empty objects equal ok 67 im.object .equal should return false for two structurally different objects ok 68 im.object .equal should return true for two structurally equal objects ok 69 im.object .equal should return false for two different mutable objects as properties ok 70 im.object .equal should recurse with equal ok 71 im.object .equal shouldn't call equal on a non-immutable object ok 72 im.object .equal should return false if there are an unequal number of properties ok 73 isImmutable should return true on immutable objects ok 74 isImmutable should return false on data that has an immutable flag ok 75 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 76 isImmutable should return false on all js primitives # tests 76 # pass 76 # fail 0
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object .forEach should pass val, key, object, but return nothing ok 54 im.object .every should return false if the predicate does once ok 55 im.object .every should return true if predicate always is satisfied ok 56 im.object .every should pass val, key, object ok 57 im.object .some should return true if the predicate does once ok 58 im.object .some should return false if predicate never is satisfied ok 59 im.object .some should pass val, key, object ok 60 im.object .filter should filter a collection ok 61 im.object .filter should pass val, key, object ok 62 im.object .reduce should reduce over collection in any order ok 63 im.object .reduce should use "first" item as seed if none passed ok 64 im.object .equal should return false if the value is not an immutable object ok 65 im.object .equal should equal itself ok 66 im.object .equal should make two empty objects equal ok 67 im.object .equal should return false for two structurally different objects ok 68 im.object .equal should return true for two structurally equal objects ok 69 im.object .equal should return false for two different mutable objects as properties ok 70 im.object .equal should recurse with equal ok 71 im.object .equal shouldn't call equal on a non-immutable object ok 72 im.object .equal should return false if there are an unequal number of properties ok 73 isImmutable should return true on immutable objects ok 74 isImmutable should return false on data that has an immutable flag ok 75 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 76 isImmutable should return false on all js primitives # tests 76 # pass 76 # fail 0
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object .forEach should pass val, key, object, but return nothing ok 54 im.object .every should return false if the predicate does once ok 55 im.object .every should return true if predicate always is satisfied ok 56 im.object .every should pass val, key, object ok 57 im.object .some should return true if the predicate does once ok 58 im.object .some should return false if predicate never is satisfied ok 59 im.object .some should pass val, key, object ok 60 im.object .filter should filter a collection ok 61 im.object .filter should pass val, key, object ok 62 im.object .reduce should reduce over collection in any order ok 63 im.object .reduce should use "first" item as seed if none passed ok 64 im.object .equal should return false if the value is not an immutable object ok 65 im.object .equal should equal itself ok 66 im.object .equal should make two empty objects equal ok 67 im.object .equal should return false for two structurally different objects ok 68 im.object .equal should return true for two structurally equal objects ok 69 im.object .equal should return false for two different mutable objects as properties ok 70 im.object .equal should recurse with equal ok 71 im.object .equal shouldn't call equal on a non-immutable object ok 72 im.object .equal should return false if there are an unequal number of properties ok 73 isImmutable should return true on immutable objects ok 74 isImmutable should return false on data that has an immutable flag ok 75 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 76 isImmutable should return false on all js primitives # tests 76 # pass 76 # fail 0
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .map should create an immutable object with updated values Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4307:5) not ok 52 im.object .forEach should pass val, key, object, but return nothing Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4307:5) not ok 53 im.object .every should return false if the predicate does once Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/9fc9c87b451aee69f8784a47d4fa62aead12c5ff.1371762090890/node_modules/mocha/mocha.js:4307:5) ok 54 im.object .some should return true if the predicate does once
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object .forEach should pass val, key, object, but return nothing ok 54 im.object .every should return false if the predicate does once ok 55 im.object .every should return true if predicate always is satisfied ok 56 im.object .every should pass val, key, object ok 57 im.object .some should return true if the predicate does once ok 58 im.object .some should return false if predicate never is satisfied ok 59 im.object .some should pass val, key, object ok 60 im.object .filter should filter a collection ok 61 im.object .filter should pass val, key, object ok 62 im.object .reduce should reduce over collection in any order ok 63 im.object .reduce should use "first" item as seed if none passed ok 64 im.object .equal should return false if the value is not an immutable object ok 65 im.object .equal should equal itself ok 66 im.object .equal should make two empty objects equal ok 67 im.object .equal should return false for two structurally different objects ok 68 im.object .equal should return true for two structurally equal objects ok 69 im.object .equal should return false for two different mutable objects as properties ok 70 im.object .equal should recurse with equal ok 71 im.object .equal shouldn't call equal on a non-immutable object ok 72 im.object .equal should return false if there are an unequal number of properties ok 73 isImmutable should return true on immutable objects ok 74 isImmutable should return false on data that has an immutable flag ok 75 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag ok 76 isImmutable should return false on all js primitives # tests 76 # pass 76 # fail 0
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object not ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .map should create an immutable object with updated values not ok 52 im.object .forEach should pass val, key, object, but return nothing ok 53 im.object .every should return false if the predicate does once
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection ok 20 im.array .filter should pass val, key, array ok 21 im.array .reduce should reduce over collection in left to right order ok 22 im.array .reduce should use first item as seed if none passed ok 23 im.array .reduceRight should reduce over collection in right to left order ok 24 im.array .reduceRight should use first item as seed if none passed ok 25 im.array .equal should return false if the value is not an immutable object ok 26 im.array .equal should equal itself ok 27 im.array .equal should make two empty objects equal ok 28 im.array .equal should return false for two structurally different objects ok 29 im.array .equal should return true for two structurally equal objects ok 30 im.array .equal should return false for two different mutable objects as properties ok 31 im.array .equal should recurse with equal ok 32 im.array .push should add on a new array member at the end ok 33 im.array .indexOf should return the indexOf an element found with .equal ok 34 im.array .indexOf should return the indexOf an element with === ok 35 im.array .indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array .indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed not ok 42 im.object creation creates an object with props passed in not ok 43 im.object creation shouldn't copy over properties on the prototype not ok 44 im.object creation shouldn't copy over properties on the prototype ok 45 im.object .assoc returns a new immutable object with props updated not ok 46 im.object .assoc returns a new immutable object with props updated not ok 47 im.object .assoc returns a new immutable object with props updated not ok 48 im.object .assoc returns a new immutable object with props updated ok 49 im.object .get should return a value of a stored property, or else undefined not ok 50 im.object .get should return a value of a stored property, or else undefined not ok 51 im.object .get should return a value of a stored property, or else undefined not ok 52 im.object .get should return a value of a stored property, or else undefined ok 53 im.object .map should create an immutable object with updated values ok 54 im.object .map should pass val, key, object not ok 55 im.object .map should pass val, key, object not ok 56 im.object .map should pass val, key, object not ok 57 im.object .map should pass val, key, object not ok 58 im.object .every should return false if the predicate does once
1..76 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array .length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array .forEach should pass val, key, array, but return nothing ok 13 im.array .every should return false if the predicate does once ok 14 im.array .every should return true if predicate always is satisfied ok 15 im.array .every should pass val, key, array ok 16 im.array .some should return true if the predicate does once ok 17 im.array .some should return false if predicate never is satisfied ok 18 im.array .some should pass val, key, array ok 19 im.array .filter should filter a collection not ok 20 im.array .filter should filter a collection not ok 21 im.array .filter should pass val, key, array not ok 22 im.array .filter should pass val, key, array ok 23 im.array .reduceRight should reduce over collection in right to left order not ok 24 im.array .reduceRight should reduce over collection in right to left order not ok 25 im.array .reduceRight should use first item as seed if none passed not ok 26 im.array .reduceRight should use first item as seed if none passed ok 27 im.array .push should add on a new array member at the end not ok 28 im.array .push should add on a new array member at the end not ok 29 im.array .push should add on a new array member at the end not ok 30 im.array .push should add on a new array member at the end ok 31 immutable should export API ok 32 im.object has the right constructor not ok 33 im.object freezes object on creation if Object.freeze is available not ok 34 im.object creation should be a newless constructor not ok 35 im.object .immutable should be set to true ok 36 isImmutable should return true on immutable objects not ok 37 isImmutable should return false on data that has an immutable flag not ok 38 isImmutable should require get, set, has, assoc and dissoc to be functions, along with an immutable flag not ok 39 isImmutable should return false on all js primitives # tests 39 # pass 24 # fail 15
2013-06-16 11:18:06
6.0
7.0
8.0
✓9.0
10.0
✓4.0
✓23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .map should create an immutable object with updated values Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4307:5) not ok 52 im.object forEach should pass val, key, object, but return nothing Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4307:5) not ok 53 im.object every should return false if the predicate does once Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4307:5) ok 54 im.object some should return true if the predicate does once ok 55 im.object some should return false if predicate never is satisfied not ok 56 im.object some should pass val, key, object Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4307:5) not ok 57 im.object filter should filter a collection Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4307:5) not ok 58 im.object reduce should reduce over collection in any order Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4307:5) ok 59 im.object equal should return false if the value is not an immutable object ok 60 im.object equal should equal itself ok 61 im.object equal should make two empty objects equal ok 62 im.object equal should return false for two structurally different objects not ok 63 im.object equal should return true for two structurally equal objects Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4307:5) not ok 64 im.object equal should return false for two different mutable objects as properties Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/067958fd70b3e07211e35343f4afeb359083c565.1371376884597/node_modules/mocha/mocha.js:4307:5)
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object not ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .map should create an immutable object with updated values not ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed not ok 42 im.object creation creates an object with props passed in not ok 43 im.object creation shouldn't copy over properties on the prototype not ok 44 im.object creation shouldn't copy over properties on the prototype ok 45 im.object .assoc returns a new immutable object with props updated not ok 46 im.object .assoc returns a new immutable object with props updated not ok 47 im.object .assoc returns a new immutable object with props updated not ok 48 im.object .assoc returns a new immutable object with props updated ok 49 im.object .get should return a value of a stored property, or else undefined not ok 50 im.object .get should return a value of a stored property, or else undefined not ok 51 im.object .get should return a value of a stored property, or else undefined not ok 52 im.object .get should return a value of a stored property, or else undefined ok 53 im.object .map should create an immutable object with updated values ok 54 im.object .map should pass val, key, object not ok 55 im.object .map should pass val, key, object not ok 56 im.object .map should pass val, key, object not ok 57 im.object .map should pass val, key, object not ok 58 im.object every should return false if the predicate does once
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection not ok 20 im.array filter should filter a collection not ok 21 im.array filter should pass val, key, array not ok 22 im.array filter should pass val, key, array ok 23 im.array reduceRight should reduce over collection in right to left order not ok 24 im.array reduceRight should reduce over collection in right to left order not ok 25 im.array reduceRight should use first item as seed if none passed not ok 26 im.array reduceRight should use first item as seed if none passed ok 27 im.array push should add on a new array member at the end not ok 28 im.array push should add on a new array member at the end not ok 29 im.array push should add on a new array member at the end not ok 30 im.array push should add on a new array member at the end ok 31 immutable should export API ok 32 im.object has the right constructor not ok 33 im.object freezes object on creation if Object.freeze is available not ok 34 im.object creation should be a newless constructor not ok 35 im.object .immutable should be set to true # tests 35 # pass 23 # fail 12
2013-06-01 01:07:34
6.0
7.0
8.0
✓9.0
10.0
✓4.0
✓23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .map should create an immutable object with updated values Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4307:5) not ok 52 im.object forEach should pass val, key, object, but return nothing Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4307:5) not ok 53 im.object every should return false if the predicate does once Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/2ffb91da689b19fc35aa745c94866b41519bf24c.1370044054783/node_modules/mocha/mocha.js:4307:5) ok 54 im.object some should return true if the predicate does once
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object not ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .map should create an immutable object with updated values not ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed not ok 42 im.object creation creates an object with props passed in not ok 43 im.object creation shouldn't copy over properties on the prototype not ok 44 im.object creation shouldn't copy over properties on the prototype ok 45 im.object .assoc returns a new immutable object with props updated not ok 46 im.object .assoc returns a new immutable object with props updated not ok 47 im.object .assoc returns a new immutable object with props updated not ok 48 im.object .assoc returns a new immutable object with props updated ok 49 im.object .get should return a value of a stored property, or else undefined not ok 50 im.object .get should return a value of a stored property, or else undefined not ok 51 im.object .get should return a value of a stored property, or else undefined not ok 52 im.object .get should return a value of a stored property, or else undefined ok 53 im.object .map should create an immutable object with updated values ok 54 im.object .map should pass val, key, object not ok 55 im.object .map should pass val, key, object not ok 56 im.object .map should pass val, key, object not ok 57 im.object .map should pass val, key, object not ok 58 im.object every should return false if the predicate does once
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection not ok 20 im.array filter should filter a collection not ok 21 im.array filter should pass val, key, array not ok 22 im.array filter should pass val, key, array ok 23 im.array reduceRight should reduce over collection in right to left order not ok 24 im.array reduceRight should reduce over collection in right to left order not ok 25 im.array reduceRight should use first item as seed if none passed not ok 26 im.array reduceRight should use first item as seed if none passed ok 27 im.array push should add on a new array member at the end not ok 28 im.array push should add on a new array member at the end not ok 29 im.array push should add on a new array member at the end not ok 30 im.array push should add on a new array member at the end ok 31 immutable should export API ok 32 im.object has the right constructor not ok 33 im.object freezes object on creation if Object.freeze is available not ok 34 im.object creation should be a newless constructor not ok 35 im.object .immutable should be set to true # tests 35 # pass 23 # fail 12
2013-06-01 01:02:58
6.0
7.0
8.0
✓9.0
10.0
✓4.0
✓23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values not ok 51 im.object .map should pass val, key, object Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4307:5) not ok 52 im.object forEach should pass val, key, object, but return nothing Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4307:5) not ok 53 im.object every should return false if the predicate does once Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4307:5) ok 54 im.object some should return true if the predicate does once not ok 55 im.object some should return false if predicate never is satisfied Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4307:5) not ok 56 im.object some should pass val, key, object Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4307:5) not ok 57 im.object filter should filter a collection Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4307:5) ok 58 im.object reduce should reduce over collection in any order not ok 59 im.object reduce should use "first" item as seed if none passed Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4307:5) not ok 60 im.object equal should return false if the value is not an immutable object Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4307:5) not ok 61 immutable should export API Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/a6aa69d3f1e8febdfd7635d1dd30c5e585c12b25.1370043733146/node_modules/mocha/mocha.js:4307:5) # tests 88 # pass 61 # fail 27
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable not ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .toJSON should be an alias for mutable not ok 52 im.object .toJSON should be an alias for mutable ok 53 im.object some should return true if the predicate does once not ok 54 im.object some should return false if predicate never is satisfied not ok 55 im.object some should pass val, key, object not ok 56 im.object some should pass val, key, object ok 57 im.object reduce should reduce over collection in any order not ok 58 im.object reduce should use "first" item as seed if none passed not ok 59 im.object reduce should use "first" item as seed if none passed not ok 60 im.object reduce should use "first" item as seed if none passed ok 61 immutable should export API # tests 61 # pass 52 # fail 9
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in not ok 42 im.object creation shouldn't copy over properties on the prototype not ok 43 im.object creation shouldn't copy over properties on the prototype not ok 44 im.object creation shouldn't copy over properties on the prototype ok 45 im.object .dissoc returns a new immutable object with props removed not ok 46 im.object .dissoc returns a new immutable object with props removed not ok 47 im.object .dissoc returns a new immutable object with props removed not ok 48 im.object .dissoc returns a new immutable object with props removed ok 49 im.object .get should return a value of a stored property, or else undefined not ok 50 im.object .get should return a value of a stored property, or else undefined not ok 51 im.object .get should return a value of a stored property, or else undefined not ok 52 im.object .get should return a value of a stored property, or else undefined ok 53 im.object .has should return true or false, indicating whether a property exists on the prop not ok 54 im.object .mutable should return a mutable version of the immutable object not ok 55 im.object .toJSON should be an alias for mutable not ok 56 im.object .map should create an immutable object with updated values ok 57 im.object forEach should pass val, key, object, but return nothing not ok 58 im.object every should return false if the predicate does once not ok 59 im.object some should return true if the predicate does once not ok 60 im.object filter should filter a collection ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection not ok 20 im.array filter should filter a collection not ok 21 im.array filter should pass val, key, array not ok 22 im.array filter should pass val, key, array ok 23 im.array reduceRight should reduce over collection in right to left order not ok 24 im.array reduceRight should reduce over collection in right to left order not ok 25 im.array reduceRight should use first item as seed if none passed not ok 26 im.array reduceRight should use first item as seed if none passed ok 27 im.array push should add on a new array member at the end not ok 28 im.array push should add on a new array member at the end not ok 29 im.array push should add on a new array member at the end not ok 30 im.array push should add on a new array member at the end ok 31 im.object has the right constructor ok 32 im.object freezes object on creation if Object.freeze is available not ok 33 im.object creation should be a newless constructor not ok 34 im.object .immutable should be set to true not ok 35 im.object .assoc returns a new immutable object with props updated ok 36 im.object .dissoc returns a new immutable object with props removed not ok 37 im.object .dissoc returns a new immutable object with props removed not ok 38 im.object .dissoc returns a new immutable object with props removed not ok 39 im.object .dissoc returns a new immutable object with props removed ok 40 im.object .has should return true or false, indicating whether a property exists on the prop not ok 41 im.object .has should return true or false, indicating whether a property exists on the prop not ok 42 im.object .has should return true or false, indicating whether a property exists on the prop not ok 43 im.object .has should return true or false, indicating whether a property exists on the prop ok 44 immutable should export API # tests 44 # pass 26 # fail 18
2013-06-01 00:59:59
6.0
7.0
8.0
✓9.0
10.0
✓4.0
✓23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values not ok 51 im.object .map should pass val, key, object Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4307:5) not ok 52 im.object forEach should pass val, key, object, but return nothing Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4307:5) not ok 53 im.object every should return false if the predicate does once Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4307:5) ok 54 im.object some should return true if the predicate does once not ok 55 im.object some should return false if predicate never is satisfied Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4307:5) not ok 56 im.object some should pass val, key, object Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4307:5) not ok 57 im.object filter should filter a collection Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4307:5) ok 58 im.object reduce should reduce over collection in any order not ok 59 im.object reduce should use "first" item as seed if none passed Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4307:5) not ok 60 im.object equal should return false if the value is not an immutable object Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4307:5) not ok 61 immutable should export API Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/5ca0cf95c5f244862373f8e7809ce6e71390a0a4.1370043530435/node_modules/mocha/mocha.js:4307:5) # tests 88 # pass 61 # fail 27
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable ok 50 im.object .map should create an immutable object with updated values ok 51 im.object .map should pass val, key, object ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once ok 54 im.object every should return true if predicate always is satisfied ok 55 im.object every should pass val, key, object ok 56 im.object some should return true if the predicate does once ok 57 im.object some should return false if predicate never is satisfied ok 58 im.object some should pass val, key, object ok 59 im.object filter should filter a collection ok 60 im.object filter should pass val, key, object ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object ok 64 im.object equal should equal itself ok 65 im.object equal should make two empty objects equal ok 66 im.object equal should return false for two structurally different objects ok 67 im.object equal should return true for two structurally equal objects ok 68 im.object equal should return false for two different mutable objects as properties ok 69 im.object equal should recurse with equal ok 70 im.object equal shouldn't call equal on a non-immutable object ok 71 im.object equal should return false if there are an unequal number of properties ok 72 immutable should export API # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in ok 42 im.object creation shouldn't copy over properties on the prototype ok 43 im.object .immutable should be set to true ok 44 im.object .assoc returns a new immutable object with props updated ok 45 im.object .dissoc returns a new immutable object with props removed ok 46 im.object .get should return a value of a stored property, or else undefined ok 47 im.object .has should return true or false, indicating whether a property exists on the prop ok 48 im.object .mutable should return a mutable version of the immutable object ok 49 im.object .toJSON should be an alias for mutable not ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .toJSON should be an alias for mutable not ok 52 im.object .toJSON should be an alias for mutable ok 53 im.object some should return true if the predicate does once not ok 54 im.object some should return false if predicate never is satisfied not ok 55 im.object some should pass val, key, object not ok 56 im.object some should pass val, key, object ok 57 im.object reduce should reduce over collection in any order not ok 58 im.object reduce should use "first" item as seed if none passed not ok 59 im.object reduce should use "first" item as seed if none passed not ok 60 im.object reduce should use "first" item as seed if none passed ok 61 immutable should export API # tests 61 # pass 52 # fail 9
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 im.object has the right constructor ok 38 im.object freezes object on creation if Object.freeze is available ok 39 im.object creation should be a newless constructor ok 40 im.object creation creates an empty object if no props are passed ok 41 im.object creation creates an object with props passed in not ok 42 im.object creation shouldn't copy over properties on the prototype not ok 43 im.object creation shouldn't copy over properties on the prototype not ok 44 im.object creation shouldn't copy over properties on the prototype ok 45 im.object .dissoc returns a new immutable object with props removed not ok 46 im.object .dissoc returns a new immutable object with props removed not ok 47 im.object .dissoc returns a new immutable object with props removed not ok 48 im.object .dissoc returns a new immutable object with props removed ok 49 im.object .get should return a value of a stored property, or else undefined not ok 50 im.object .get should return a value of a stored property, or else undefined not ok 51 im.object .get should return a value of a stored property, or else undefined not ok 52 im.object .get should return a value of a stored property, or else undefined ok 53 im.object .has should return true or false, indicating whether a property exists on the prop not ok 54 im.object .mutable should return a mutable version of the immutable object not ok 55 im.object .toJSON should be an alias for mutable not ok 56 im.object .map should create an immutable object with updated values ok 57 im.object forEach should pass val, key, object, but return nothing not ok 58 im.object every should return false if the predicate does once not ok 59 im.object some should return true if the predicate does once not ok 60 im.object filter should filter a collection ok 61 im.object reduce should reduce over collection in any order ok 62 im.object reduce should use "first" item as seed if none passed ok 63 im.object equal should return false if the value is not an immutable object
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection not ok 20 im.array filter should filter a collection not ok 21 im.array filter should pass val, key, array not ok 22 im.array filter should pass val, key, array ok 23 im.array reduceRight should reduce over collection in right to left order not ok 24 im.array reduceRight should reduce over collection in right to left order not ok 25 im.array reduceRight should use first item as seed if none passed not ok 26 im.array reduceRight should use first item as seed if none passed ok 27 im.array push should add on a new array member at the end not ok 28 im.array push should add on a new array member at the end not ok 29 im.array push should add on a new array member at the end not ok 30 im.array push should add on a new array member at the end ok 31 im.object has the right constructor ok 32 im.object freezes object on creation if Object.freeze is available not ok 33 im.object creation should be a newless constructor not ok 34 im.object .immutable should be set to true not ok 35 im.object .assoc returns a new immutable object with props updated ok 36 im.object .dissoc returns a new immutable object with props removed not ok 37 im.object .dissoc returns a new immutable object with props removed not ok 38 im.object .dissoc returns a new immutable object with props removed not ok 39 im.object .dissoc returns a new immutable object with props removed ok 40 im.object .has should return true or false, indicating whether a property exists on the prop not ok 41 im.object .has should return true or false, indicating whether a property exists on the prop not ok 42 im.object .has should return true or false, indicating whether a property exists on the prop not ok 43 im.object .has should return true or false, indicating whether a property exists on the prop ok 44 immutable should export API # tests 44 # pass 26 # fail 18
2013-06-01 00:43:49
6.0
7.0
8.0
✓9.0
✓10.0
✓4.0
✓23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object not ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .map should create an immutable object with updated values not ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed not ok 42 im.object creation creates an object with props passed in not ok 43 im.object creation shouldn't copy over properties on the prototype not ok 44 im.object creation shouldn't copy over properties on the prototype ok 45 im.object .assoc returns a new immutable object with props updated not ok 46 im.object .assoc returns a new immutable object with props updated not ok 47 im.object .assoc returns a new immutable object with props updated not ok 48 im.object .assoc returns a new immutable object with props updated ok 49 im.object .get should return a value of a stored property, or else undefined not ok 50 im.object .get should return a value of a stored property, or else undefined not ok 51 im.object .get should return a value of a stored property, or else undefined not ok 52 im.object .get should return a value of a stored property, or else undefined ok 53 im.object .map should create an immutable object with updated values ok 54 im.object .map should pass val, key, object not ok 55 im.object .map should pass val, key, object not ok 56 im.object .map should pass val, key, object not ok 57 im.object .map should pass val, key, object not ok 58 im.object every should return false if the predicate does once
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection not ok 20 im.array filter should filter a collection not ok 21 im.array filter should pass val, key, array not ok 22 im.array filter should pass val, key, array ok 23 im.array reduceRight should reduce over collection in right to left order not ok 24 im.array reduceRight should reduce over collection in right to left order not ok 25 im.array reduceRight should use first item as seed if none passed not ok 26 im.array reduceRight should use first item as seed if none passed ok 27 im.array push should add on a new array member at the end not ok 28 im.array push should add on a new array member at the end not ok 29 im.array push should add on a new array member at the end not ok 30 im.array push should add on a new array member at the end ok 31 immutable should export API ok 32 im.object has the right constructor not ok 33 im.object freezes object on creation if Object.freeze is available not ok 34 im.object creation should be a newless constructor not ok 35 im.object .immutable should be set to true # tests 35 # pass 23 # fail 12
2013-05-31 23:08:49
6.0
7.0
8.0
✓9.0
✓10.0
✓4.0
✓23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object ok 50 im.object .toJSON should be an alias for mutable ok 51 im.object .map should create an immutable object with updated values ok 52 im.object .map should pass val, key, object ok 53 im.object forEach should pass val, key, object, but return nothing ok 54 im.object every should return false if the predicate does once ok 55 im.object every should return true if predicate always is satisfied ok 56 im.object every should pass val, key, object ok 57 im.object some should return true if the predicate does once ok 58 im.object some should return false if predicate never is satisfied ok 59 im.object some should pass val, key, object ok 60 im.object filter should filter a collection ok 61 im.object filter should pass val, key, object ok 62 im.object reduce should reduce over collection in any order ok 63 im.object reduce should use "first" item as seed if none passed ok 64 im.object equal should return false if the value is not an immutable object ok 65 im.object equal should equal itself ok 66 im.object equal should make two empty objects equal ok 67 im.object equal should return false for two structurally different objects ok 68 im.object equal should return true for two structurally equal objects ok 69 im.object equal should return false for two different mutable objects as properties ok 70 im.object equal should recurse with equal ok 71 im.object equal shouldn't call equal on a non-immutable object ok 72 im.object equal should return false if there are an unequal number of properties # tests 72 # pass 72 # fail 0
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed ok 42 im.object creation creates an object with props passed in ok 43 im.object creation shouldn't copy over properties on the prototype ok 44 im.object .immutable should be set to true ok 45 im.object .assoc returns a new immutable object with props updated ok 46 im.object .dissoc returns a new immutable object with props removed ok 47 im.object .get should return a value of a stored property, or else undefined ok 48 im.object .has should return true or false, indicating whether a property exists on the prop ok 49 im.object .mutable should return a mutable version of the immutable object not ok 50 im.object .toJSON should be an alias for mutable not ok 51 im.object .map should create an immutable object with updated values not ok 52 im.object forEach should pass val, key, object, but return nothing ok 53 im.object every should return false if the predicate does once
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.array push should add on a new array member at the end ok 33 im.array indexOf should return the indexOf an element found with .equal ok 34 im.array indexOf should return the indexOf an element with === ok 35 im.array indexOf should return -1 for not found (ugh - it is standard though) ok 36 im.array indexOf should return the first index ok 37 immutable should export API ok 38 im.object has the right constructor ok 39 im.object freezes object on creation if Object.freeze is available ok 40 im.object creation should be a newless constructor ok 41 im.object creation creates an empty object if no props are passed not ok 42 im.object creation creates an object with props passed in not ok 43 im.object creation shouldn't copy over properties on the prototype not ok 44 im.object creation shouldn't copy over properties on the prototype ok 45 im.object .assoc returns a new immutable object with props updated not ok 46 im.object .assoc returns a new immutable object with props updated not ok 47 im.object .assoc returns a new immutable object with props updated not ok 48 im.object .assoc returns a new immutable object with props updated ok 49 im.object .get should return a value of a stored property, or else undefined not ok 50 im.object .get should return a value of a stored property, or else undefined not ok 51 im.object .get should return a value of a stored property, or else undefined not ok 52 im.object .get should return a value of a stored property, or else undefined ok 53 im.object .map should create an immutable object with updated values ok 54 im.object .map should pass val, key, object not ok 55 im.object .map should pass val, key, object not ok 56 im.object .map should pass val, key, object not ok 57 im.object .map should pass val, key, object not ok 58 im.object every should return false if the predicate does once
1..72 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection not ok 20 im.array filter should filter a collection not ok 21 im.array filter should pass val, key, array not ok 22 im.array filter should pass val, key, array ok 23 im.array reduceRight should reduce over collection in right to left order not ok 24 im.array reduceRight should reduce over collection in right to left order not ok 25 im.array reduceRight should use first item as seed if none passed not ok 26 im.array reduceRight should use first item as seed if none passed ok 27 im.array push should add on a new array member at the end not ok 28 im.array push should add on a new array member at the end not ok 29 im.array push should add on a new array member at the end not ok 30 im.array push should add on a new array member at the end ok 31 immutable should export API ok 32 im.object has the right constructor not ok 33 im.object freezes object on creation if Object.freeze is available not ok 34 im.object creation should be a newless constructor not ok 35 im.object .immutable should be set to true # tests 35 # pass 23 # fail 12
2013-05-24 23:13:20
6.0
7.0
8.0
✓9.0
10.0
✓4.0
✓23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object not ok 51 im.object some should return true if the predicate does once Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4307:5) not ok 52 im.object filter should filter a collection Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4307:5) not ok 53 im.object reduce should reduce over collection in any order Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4307:5) ok 54 im.object equal should return false if the value is not an immutable object not ok 55 im.object equal should equal itself Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4307:5) not ok 56 im.object equal should make two empty objects equal Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4307:5) not ok 57 im.object equal should return false for two structurally different objects Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:3613:5) at emit (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:522:7) at fail (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4250:3) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4454:11) at runTest (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4406:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4450:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4330:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4339:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4307:5) ok 58 immutable should export API not ok 59 immutable should export API Error: Out of stack space at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:3618:5) at emit (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:522:7) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4564:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4501:7) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4287:16) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4307:5) at Anonymous function (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:5248:26) at hook (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4306:3) at done (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4499:5) at next (http://git.testling.com/work/hughfdjackson/repos/871ee9f99f8e909859d9565493564bd5e441aba1.1369432840176/node_modules/mocha/mocha.js:4493:16)
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed not ok 41 im.object .get should return a value of a stored property, or else undefined not ok 42 im.object .has should return true or false, indicating whether a property exists on the prop not ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable not ok 45 im.object .map should create an immutable object with updated values not ok 46 im.object forEach should pass val, key, object, but return nothing not ok 47 im.object every should return false if the predicate does once ok 48 im.object some should return true if the predicate does once ok 49 im.object some should return false if predicate never is satisfied not ok 50 im.object some should return false if predicate never is satisfied not ok 51 im.object some should return false if predicate never is satisfied not ok 52 im.object some should return false if predicate never is satisfied not ok 53 im.object filter should filter a collection not ok 54 im.object reduce should reduce over collection in any order ok 55 im.object equal should return false if the value is not an immutable object ok 56 im.object equal should equal itself ok 57 im.object equal should make two empty objects equal not ok 58 im.object equal should return false for two structurally different objects not ok 59 im.object equal should return true for two structurally equal objects not ok 60 im.object equal should return false for two different mutable objects as properties ok 61 im.object equal should recurse with equal not ok 62 im.object equal should recurse with equal not ok 63 im.object equal should recurse with equal not ok 64 im.object equal should recurse with equal # tests 80 # pass 47 # fail 33
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection not ok 20 im.array filter should filter a collection not ok 21 im.array filter should pass val, key, array not ok 22 im.array filter should pass val, key, array ok 23 im.array reduceRight should reduce over collection in right to left order not ok 24 im.array reduceRight should reduce over collection in right to left order not ok 25 im.array reduceRight should use first item as seed if none passed not ok 26 im.array reduceRight should use first item as seed if none passed ok 27 im.object has the right constructor not ok 28 im.object has the right constructor not ok 29 im.object has the right constructor not ok 30 im.object has the right constructor ok 31 immutable should export API # tests 31 # pass 22 # fail 9
2013-05-24 23:06:08
6.0
7.0
8.0
✓9.0
✓10.0
✓4.0
✓23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed not ok 41 im.object .get should return a value of a stored property, or else undefined not ok 42 im.object .has should return true or false, indicating whether a property exists on the prop not ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable not ok 45 im.object .map should create an immutable object with updated values not ok 46 im.object forEach should pass val, key, object, but return nothing not ok 47 im.object every should return false if the predicate does once ok 48 im.object some should return true if the predicate does once ok 49 im.object some should return false if predicate never is satisfied not ok 50 im.object some should return false if predicate never is satisfied not ok 51 im.object some should return false if predicate never is satisfied not ok 52 im.object some should return false if predicate never is satisfied not ok 53 im.object filter should filter a collection not ok 54 im.object reduce should reduce over collection in any order ok 55 im.object equal should return false if the value is not an immutable object ok 56 im.object equal should equal itself ok 57 im.object equal should make two empty objects equal not ok 58 im.object equal should return false for two structurally different objects not ok 59 im.object equal should return true for two structurally equal objects not ok 60 im.object equal should return false for two different mutable objects as properties ok 61 im.object equal should recurse with equal not ok 62 im.object equal should recurse with equal not ok 63 im.object equal should recurse with equal not ok 64 im.object equal should recurse with equal # tests 80 # pass 47 # fail 33
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection not ok 20 im.array filter should filter a collection not ok 21 im.array filter should pass val, key, array not ok 22 im.array filter should pass val, key, array ok 23 im.array reduceRight should reduce over collection in right to left order not ok 24 im.array reduceRight should reduce over collection in right to left order not ok 25 im.array reduceRight should use first item as seed if none passed not ok 26 im.array reduceRight should use first item as seed if none passed ok 27 im.object has the right constructor not ok 28 im.object has the right constructor not ok 29 im.object has the right constructor not ok 30 im.object has the right constructor ok 31 immutable should export API # tests 31 # pass 22 # fail 9
2013-05-24 22:52:59
✓9.0
10.0
6.0
7.0
8.0
✓4.0
✓23.0
✓3.0
✓17.0
✓5.1
✓5.0.5
✓10.0
✓12.0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass val, key, array ok 16 im.array some should return true if the predicate does once ok 17 im.array some should return false if predicate never is satisfied ok 18 im.array some should pass val, key, array ok 19 im.array filter should filter a collection ok 20 im.array filter should pass val, key, array ok 21 im.array reduce should reduce over collection in left to right order ok 22 im.array reduce should use first item as seed if none passed ok 23 im.array reduceRight should reduce over collection in right to left order ok 24 im.array reduceRight should use first item as seed if none passed ok 25 im.array equal should return false if the value is not an immutable object ok 26 im.array equal should equal itself ok 27 im.array equal should make two empty objects equal ok 28 im.array equal should return false for two structurally different objects ok 29 im.array equal should return true for two structurally equal objects ok 30 im.array equal should return false for two different mutable objects as properties ok 31 im.array equal should recurse with equal ok 32 im.object has the right constructor ok 33 im.object freezes object on creation if Object.freeze is available ok 34 im.object creation should be a newless constructor ok 35 im.object creation creates an empty object if no props are passed ok 36 im.object creation creates an object with props passed in ok 37 im.object creation shouldn't copy over properties on the prototype ok 38 im.object .immutable should be set to true ok 39 im.object .assoc returns a new immutable object with props updated ok 40 im.object .dissoc returns a new immutable object with props removed ok 41 im.object .get should return a value of a stored property, or else undefined ok 42 im.object .has should return true or false, indicating whether a property exists on the prop ok 43 im.object .mutable should return a mutable version of the immutable object ok 44 im.object .toJSON should be an alias for mutable ok 45 im.object .map should create an immutable object with updated values ok 46 im.object .map should pass val, key, object ok 47 im.object forEach should pass val, key, object, but return nothing ok 48 im.object every should return false if the predicate does once ok 49 im.object every should return true if predicate always is satisfied ok 50 im.object every should pass val, key, object ok 51 im.object some should return true if the predicate does once ok 52 im.object some should return false if predicate never is satisfied ok 53 im.object some should pass val, key, object ok 54 im.object filter should filter a collection ok 55 im.object filter should pass val, key, object ok 56 im.object reduce should reduce over collection in any order ok 57 im.object reduce should use "first" item as seed if none passed ok 58 im.object equal should return false if the value is not an immutable object ok 59 im.object equal should equal itself ok 60 im.object equal should make two empty objects equal ok 61 im.object equal should return false for two structurally different objects ok 62 im.object equal should return true for two structurally equal objects ok 63 im.object equal should return false for two different mutable objects as properties ok 64 im.object equal should recurse with equal ok 65 immutable should export API # tests 65 # pass 65 # fail 0
1..65 ok 1 im.array freezes arrays on creation if available ok 2 im.array .immutable should be set to true ok 3 im.array .assoc should allow a new version to be made with added properties ok 4 im.array .assoc should return an im.array ok 5 im.array .assoc shouldn't copy over properties on the prototype ok 6 im.array length should get updated to be the largest int + 1 ok 7 im.array .mutable should return an array with all properties copied ok 8 im.array .mutable should represent gaps with missing data ok 9 im.array .toJSON should be an alias for .mutable ok 10 im.array .map should create an immutable object with updated values ok 11 im.array .map should pass val, key, array ok 12 im.array forEach should pass val, key, array, but return nothing ok 13 im.array every should return false if the predicate does once ok 14 im.array every should return true if predicate always is satisfied ok 15 im.array every should pass