Update test expectation to allow for partial matches

This commit is contained in:
Monnte 2025-03-11 15:45:31 +01:00
parent 396768da7b
commit 0053c5cd65

View file

@ -25,7 +25,7 @@ describe('Styles', function () {
expect(res.body.sources).to.be.a('object');
expect(res.body.glyphs).to.be.a('string');
expect(res.body.sprite).to.be.a('string');
expect(res.body.sprite).to.be.equal('/test/styles/test-style/sprite');
expect(res.body.sprite).to.contain('/test/styles/test-style/sprite');
expect(res.body.layers).to.be.a('array');
})
.end(done);