mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
fix incorrect test
This commit is contained in:
@@ -13,7 +13,7 @@ describe('export-webpack', function() {
|
||||
|
||||
it('injects <link rel=preload> tags', () => {
|
||||
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