pull/4192/head
Simon H 4 years ago committed by GitHub
parent 3becd226b2
commit 3bffd49e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,7 @@
const calls = []; const calls = [];
export default { export default {
props: { props: {
calls, calls
}, },
async test({ assert, component, target, window }) { async test({ assert, component, target, window }) {
@ -16,5 +16,5 @@ export default {
component.current_path = 'bar'; component.current_path = 'bar';
assert.deepEqual(calls.length, 2); assert.deepEqual(calls.length, 2);
}, }
}; };

@ -14,4 +14,4 @@
<svelte:component this={getComponent(current_path)} /> <svelte:component this={getComponent(current_path)} />
<button on:click={onClick}>click me</button> <button on:click={onClick}>click me</button>
{ i } { i }

Loading…
Cancel
Save