var download = require('./download'),
context = require('./context'),
jsts = require('jsts');


describe('ShapeFile', function() {

	before(download([
		{
			url: "https://copy.com/yzHc6aQO76ko/shp.js/br.sp.zip?download=1",
			name: "br.sp.zip",
			test: "br.sp.shp"
		}
	]));

	// Sertãozinho - SP - BR: -47.88684,-47.86040,-21.08315,-21.05238

	describe('intersects', function() {

		context('br.sp.shp', 'Sertãozinho', function(shapeFile, done) {

			var envelope = new jsts.geom.Envelope(-47.88684,-47.86040,-21.08315,-21.05238);
			shapeFile.intersects(envelope, function(err, feature) {
			});
		});
	});

});
@@ -85,16 +85,49 @@
 ('jsts')
+,%0Aexpect = require('chai').expect
 ;%0A%0A%0Adesc
@@ -619,16 +619,46 @@
 ture) %7B%0A
+%09%09%09%09expect(err).to.not.exist;%0A
 %09%09%09%7D);%0A%09

Check error