update tests

This commit is contained in:
Rich Harris
2018-09-30 11:32:58 -04:00
parent 2185f89669
commit 5573258a10
10 changed files with 39 additions and 40 deletions

View File

@@ -9,17 +9,9 @@
<button class='prefetch' on:click='prefetch("blog/why-the-name")'>Why the name?</button>
<script>
import { goto, prefetch } from '../../../../runtime.js';
import { prefetch } from '../__sapper__/client.js';
export default {
oncreate() {
window.goto = goto;
},
ondestroy() {
window.goto = null;
},
methods: {
prefetch
}