Skip to content

Instantly share code, notes, and snippets.

@tmcw
Last active May 2, 2016 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/6b884b5887e8d0d90e6afe2e639afe0d to your computer and use it in GitHub Desktop.
Save tmcw/6b884b5887e8d0d90e6afe2e639afe0d to your computer and use it in GitHub Desktop.
tape('index feature', function(t) {
var range = [];
for (var i = 1; i < 100; i++) range.push(i);
range.forEach(function(i) {
t.test('addFeature', function(tt) {
addFeature(conf.street, {
id:i,
properties: {
'carmen:text':'Main Street',
'carmen:zxy':['6/14/18'],
'carmen:center':[-100,60],
'carmen:score': 2
}
}, function() {
tt.end();
});
});
});
t.end();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment