Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ os: Visual Studio 2015
environment:
matrix:
- nodejs_version: 0.10.40
- nodejs_version: 0.12.7
MapboxAccessToken:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay to just remove both v12 and v4 testing on appveyor for now. I'm still working through getting node binaries for v4 working on windows: mapbox/node-cpp11#26

secure: 01rO70zKIKzh2l8htHugNS3cCk9u3LfTu2SXojFaYkveumhZRDgRrH/BroS+fIv8T6YB5l0P2nvKAjqhdDW2yuaLWGIB5KdBmhywp4dXa0g=
AWS_ACCESS_KEY_ID:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"tar": "~2.2.1",
"request": "~2.65.0",
"numeral": "~1.5.3",
"sphericalmercator": "~1.0.2",
"sphericalmercator": "~1.0.5",
"spherical": "~0.1.0",
"underscore": "~1.8.0"
},
Expand Down
13 changes: 10 additions & 3 deletions test/tm2z.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,19 @@ test('profiles a tm2z file', function(t) {
});
});
});
test('errors with EMAPNIK when profiling invalid tm2z', function(t) {
test('profiles tm2z with very southern data', function(t) {
tilelive.load('tm2z://' + path.join(fixtureDir, 'invalid.tm2z'), function(err, source) {
t.ifError(err);
source.profile(function(err, profile) {
t.equal('EMAPNIK', err.code);
t.equal(err.message, 'Tile does not exist');
t.ifError(err);
t.deepEqual([
'tiles',
'xmltime',
'drawtime',
'loadtime',
'srcbytes',
'imgbytes'
], Object.keys(profile), 'produced correct fields of profile');
t.end();
});
});
Expand Down