mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-19 13:55:21 +00:00
remove noise from tests
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<h1>Great success!</h1>
|
<h1>Great success!</h1>
|
||||||
|
|
||||||
<figure>
|
<figure>
|
||||||
<img src='/great-success.png'>
|
<img alt='borat' src='/great-success.png'>
|
||||||
<figcaption>HIGH FIVE!</figcaption>
|
<figcaption>HIGH FIVE!</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
export default {
|
export default {
|
||||||
preload() {
|
preload() {
|
||||||
return new Promise(fulfil => {
|
return new Promise(fulfil => {
|
||||||
window.fulfil = fulfil;
|
if (typeof window !== 'undefined') {
|
||||||
|
window.fulfil = fulfil;
|
||||||
|
} else {
|
||||||
|
fulfil({});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user