Skip to content

Commit

Permalink
Update spec/UtilSpec.js
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Arlt <378557+patrickarlt@users.noreply.github.com>
  • Loading branch information
gavinr-maps and patrickarlt authored Sep 28, 2023
1 parent d226f91 commit e6a34cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/UtilSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Util', function () {
expect(style.sprite).to.equal(`${spriteUrl}?token=${token}`);
});

it('should include the token in the glyph URL when the the URL does not start with http', function () {
it('should include the token in the glyph URL when the glyph URL is relative and the style URL starts with https', function () {
const token = 'asdf';
const styleUrl =
'https://tiles.arcgis.com/tiles/test/arcgis/rest/services/test/VectorTileServer/resources/styles/root.json';
Expand Down

0 comments on commit e6a34cd

Please sign in to comment.