update test to match possible html string

This commit is contained in:
Matteo Pagliazzi
2015-11-15 17:27:22 +01:00
parent 466797cc6c
commit 78e5d913f5

View File

@@ -7,7 +7,7 @@ describe('Build Manifest', () => {
it('returns an html string', () => {
let htmlCode = getManifestFiles('app');
expect(htmlCode).to.be.a.String;
expect(htmlCode.startsWith('<script') || htmlCode.startsWith('<link')).to.be.true;
});
it('throws an error in case the page does not exist', () => {