overhaul tests

This commit is contained in:
Rich Harris
2018-10-07 18:23:43 -04:00
committed by GitHub
parent 18acef3190
commit 5e59855a15
183 changed files with 4145 additions and 3126 deletions

View File

@@ -103,7 +103,7 @@ function handle_click(event: MouseEvent) {
const target = select_route(url);
if (target) {
const noscroll = a.hasAttribute('sapper-noscroll')
const noscroll = a.hasAttribute('sapper-noscroll');
navigate(target, null, noscroll);
event.preventDefault();
history.pushState({ id: cid }, '', url.href);