diff --git a/test/app/routes/index.html b/test/app/routes/index.html index 4b28e6a..bbb024a 100644 --- a/test/app/routes/index.html +++ b/test/app/routes/index.html @@ -6,7 +6,7 @@

Great success!

- + borat
HIGH FIVE!
diff --git a/test/app/routes/slow-preload.html b/test/app/routes/slow-preload.html index f445da6..0dc35ca 100644 --- a/test/app/routes/slow-preload.html +++ b/test/app/routes/slow-preload.html @@ -4,7 +4,11 @@ export default { preload() { return new Promise(fulfil => { - window.fulfil = fulfil; + if (typeof window !== 'undefined') { + window.fulfil = fulfil; + } else { + fulfil({}); + } }); } };