Make block css class optional & fix test (#6)

* Make block class optional

* Fix test by removing unexpected space space
This commit is contained in:
Sam Mason
2019-03-31 22:30:52 -04:00
committed by yz-yu
parent 110511ce73
commit 03c9fde822
2 changed files with 20 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ describe('absolute url to stylesheet', () => {
it('can handle multiple no quote paths', () => {
expect(
absoluteToStylesheet(
'background-image: url(images/b.jpg); background: #aabbcc url(images/a.jpg) 50% 50% repeat;',
'background-image: url(images/b.jpg);background: #aabbcc url(images/a.jpg) 50% 50% repeat;',
href,
),
).to.equal(