get tests passing

This commit is contained in:
Rich Harris
2019-05-10 08:00:21 -04:00
parent f8e853c02b
commit 429f44e3a6
6 changed files with 12 additions and 12 deletions

View File

@@ -140,7 +140,7 @@ describe('basics', function() {
);
// TODO preload more than just the entry point
const regex = /<\/client\/client\.\w+\.js>;rel="modulepreload"/;
const regex = /<\/sapper\/client\.\w+\.js>;rel="modulepreload"/;
const link = <string>headers['link'];
assert.ok(regex.test(link), link);