From 0053c5cd657220e58edbc769633a2ff0905188c0 Mon Sep 17 00:00:00 2001 From: Monnte Date: Tue, 11 Mar 2025 15:45:31 +0100 Subject: [PATCH] Update test expectation to allow for partial matches --- test/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/style.js b/test/style.js index 469eab7..f2af4fb 100644 --- a/test/style.js +++ b/test/style.js @@ -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);