openvibers/openvibe.sources Commits
steam-sources.test.js runs its checks (#191)
Changes
@@@ -65,3 +65,5 @@ t('$index is an array record\'s position, as a whole path, never on a map', () =assert.match(api.checkMapping(ep({ position: '$index' }, 'map')), /\$index requires items_shape "array"/);assert.match(api.checkMapping(ep({ position: 'a.$index' })), /exactly "\$index"/);});++++t.run();
@@ -65,3 +65,5 @@ t('$index is an array record\'s position, as a whole path, never on a map', () =
@@ -65,3 +65,5 @@ t('$index is an array record\'s position, as a whole path, never on a map', () =
assert.match(api.checkMapping(ep({ position: '$index' }, 'map')), /\$index requires items_shape "array"/);
assert.match(api.checkMapping(ep({ position: '$index' }, 'map')), /\$index requires items_shape "array"/);
assert.match(api.checkMapping(ep({ position: 'a.$index' })), /exactly "\$index"/);
assert.match(api.checkMapping(ep({ position: 'a.$index' })), /exactly "\$index"/);
});
});
+
+t.run();