mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-19 05:45:27 +00:00
fix incorrect test
This commit is contained in:
@@ -13,7 +13,7 @@ describe('export-webpack', function() {
|
|||||||
|
|
||||||
it('injects <link rel=preload> tags', () => {
|
it('injects <link rel=preload> tags', () => {
|
||||||
const index = fs.readFileSync(`${__dirname}/__sapper__/export/index.html`, 'utf8');
|
const index = fs.readFileSync(`${__dirname}/__sapper__/export/index.html`, 'utf8');
|
||||||
assert.ok(/rel=preload/, index);
|
assert.ok(/rel=preload/.test(index));
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user