Skip to content

Commit 85419ad

Browse files
committed
Update test expectation to allow for partial matches
1 parent 15e47cc commit 85419ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('Styles', function () {
2525
expect(res.body.sources).to.be.a('object');
2626
expect(res.body.glyphs).to.be.a('string');
2727
expect(res.body.sprite).to.be.a('string');
28-
expect(res.body.sprite).to.be.equal('/test/styles/test-style/sprite');
28+
expect(res.body.sprite).to.contain('/test/styles/test-style/sprite');
2929
expect(res.body.layers).to.be.a('array');
3030
})
3131
.end(done);

0 commit comments

Comments
 (0)