Update test expectation to allow for partial matches
This commit is contained in:
parent
396768da7b
commit
0053c5cd65
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ describe('Styles', function () {
|
||||||
expect(res.body.sources).to.be.a('object');
|
expect(res.body.sources).to.be.a('object');
|
||||||
expect(res.body.glyphs).to.be.a('string');
|
expect(res.body.glyphs).to.be.a('string');
|
||||||
expect(res.body.sprite).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');
|
expect(res.body.layers).to.be.a('array');
|
||||||
})
|
})
|
||||||
.end(done);
|
.end(done);
|
||||||
|
|
Loading…
Reference in a new issue