fix: add test for default sprite
Signed-off-by: acalcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
452f9f0cc4
commit
ae13acb3ae
1 changed files with 7 additions and 0 deletions
|
@ -41,6 +41,13 @@ describe('Styles', function () {
|
|||
testIs('/styles/' + prefix + '/sprite.png', /image\/png/);
|
||||
testIs('/styles/' + prefix + '/sprite@2x.png', /image\/png/);
|
||||
});
|
||||
|
||||
describe('/styles/' + prefix + '/sprite/default[@2x].{format}', function () {
|
||||
testIs('/styles/' + prefix + '/sprite/default.json', /application\/json/);
|
||||
testIs('/styles/' + prefix + '/sprite/default@2x.json', /application\/json/);
|
||||
testIs('/styles/' + prefix + '/sprite/default.png', /image\/png/);
|
||||
testIs('/styles/' + prefix + '/sprite/default@2x.png', /image\/png/);
|
||||
});
|
||||
});
|
||||
|
||||
describe('Fonts', function () {
|
||||
|
|
Loading…
Reference in a new issue