Skip to content

Commit

Permalink
Merge pull request #105 from mapbox/pratik/remove-buckets
Browse files Browse the repository at this point in the history
Update validators.tilejson.test.js
  • Loading branch information
pratikyadav authored Dec 3, 2024
2 parents 007e958 + 6290f93 commit cd10d8d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/validators.tilejson.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,7 @@ test('lib.validators.tilejson: hostnames', function(t) {
t.ok(validHosts.test('a.tilemill.backend'), 'host is valid');
t.ok(validHosts.test('tiles.mapbox.com'), 'host is valid');
t.ok(validHosts.test('a.tiles.mapbox.com'), 'host is valid');
t.ok(validHosts.test('tilestream-tilesets-production.s3.amazonaws.com'), 'host is valid');
t.ok(validHosts.test('mapbox-satellite.s3.amazonaws.com'), 'host is valid');
t.ok(validHosts.test('mapbox-pixelmonster.s3.amazonaws.com'), 'host is valid');

t.notOk(validHosts.test('bogus-mapbox-pixelmonster.s3.amazonaws.com'), 'invalid host rejected');
t.notOk(validHosts.test('mapbox-pixelmonster.s3.amazonaws.com.eu'), 'invalid host rejected');
t.notOk(validHosts.test('mapbox-fake.s3.amazonaws.com'), 'invalid host rejected');
t.notOk(validHosts.test('tilemill.backend.com'), 'invalid host rejected');

t.end();
Expand Down

0 comments on commit cd10d8d

Please sign in to comment.