mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
update test to match possible html string
This commit is contained in:
@@ -7,7 +7,7 @@ describe('Build Manifest', () => {
|
|||||||
it('returns an html string', () => {
|
it('returns an html string', () => {
|
||||||
let htmlCode = getManifestFiles('app');
|
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', () => {
|
it('throws an error in case the page does not exist', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user