remove noise from tests

This commit is contained in:
Rich Harris
2018-01-20 13:21:53 -05:00
parent 2cbbe91490
commit bb8ff74f68
2 changed files with 6 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
<h1>Great success!</h1>
<figure>
<img src='/great-success.png'>
<img alt='borat' src='/great-success.png'>
<figcaption>HIGH FIVE!</figcaption>
</figure>

View File

@@ -4,7 +4,11 @@
export default {
preload() {
return new Promise(fulfil => {
window.fulfil = fulfil;
if (typeof window !== 'undefined') {
window.fulfil = fulfil;
} else {
fulfil({});
}
});
}
};