fix existing tests

pull/5870/head
Ivan Hofer 5 years ago
parent 613b87da55
commit 6be2c2ac02

@ -482,7 +482,7 @@ export default function dom(
${css.code && b`this.shadowRoot.innerHTML = \`<style>${css.code.replace(/\\/g, '\\\\')}${options.dev ? `\n/*# sourceMappingURL=${css.map.toUrl()} */` : ''}</style>\`;`}
@init(this, { target: this.shadowRoot, props: ${init_props}, customElement: true }, ${definition}, ${has_create_fragment ? 'create_fragment' : 'null'}, ${not_equal}, ${prop_indexes}, ${dirty});
@init(this, { target: this.shadowRoot, props: ${init_props}, customElement: true }, ${definition}, ${has_create_fragment ? 'create_fragment' : 'null'}, ${not_equal}, ${prop_indexes}, null, ${dirty});
${dev_props_check}

@ -65,7 +65,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { bar: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { bar: 0 }, null);
}
}

@ -60,7 +60,7 @@ function link(node) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -49,7 +49,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -62,7 +62,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { open: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { open: 0 }, null);
}
}

@ -57,7 +57,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { w: 0, h: 1 });
init(this, options, instance, create_fragment, safe_not_equal, { w: 0, h: 1 }, null);
}
}

@ -78,7 +78,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { files: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { files: 0 }, null);
}
}

@ -75,7 +75,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -158,7 +158,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponentDev {
constructor(options) {
super(options);
init(this, options, instance, create_fragment, safe_not_equal, { prop: 0, alias: 1 });
init(this, options, instance, create_fragment, safe_not_equal, { prop: 0, alias: 1 }, null);
dispatch_dev("SvelteRegisterComponent", {
component: this,

@ -14,8 +14,8 @@ import {
text
} from "svelte/internal";
function add_css(options) {
append_styles(options, "1a7i8ec", "p.svelte-1a7i8ec{color:red}");
function add_css(target) {
append_styles(target, "1a7i8ec", "p.svelte-1a7i8ec{color:red}");
}
function create_fragment(ctx) {
@ -56,8 +56,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
add_css(options);
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, add_css);
}
}

@ -48,7 +48,7 @@ function instance($$self) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -48,7 +48,7 @@ function instance($$self) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, not_equal, {});
init(this, options, instance, create_fragment, not_equal, {}, null);
}
}

@ -48,7 +48,7 @@ function instance($$self) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, not_equal, {});
init(this, options, instance, create_fragment, not_equal, {}, null);
}
}

@ -101,7 +101,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -48,7 +48,7 @@ function instance($$self) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -49,7 +49,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -23,7 +23,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, null, safe_not_equal, { increment: 0 });
init(this, options, instance, null, safe_not_equal, { increment: 0 }, null);
}
get increment() {

@ -74,7 +74,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -22,7 +22,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, null, safe_not_equal, { x: 0, a: 1, b: 2 });
init(this, options, instance, null, safe_not_equal, { x: 0, a: 1, b: 2 }, null);
}
get a() {

@ -11,8 +11,8 @@ import {
safe_not_equal
} from "svelte/internal";
function add_css(options) {
append_styles(options, "1slhpfn", "@media(min-width: 1px){div.svelte-1slhpfn{color:red}}");
function add_css(target) {
append_styles(target, "1slhpfn", "@media(min-width: 1px){div.svelte-1slhpfn{color:red}}");
}
function create_fragment(ctx) {
@ -38,8 +38,7 @@ function create_fragment(ctx) {
class Component extends SvelteComponent {
constructor(options) {
super();
add_css(options);
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, add_css);
}
}

@ -46,7 +46,8 @@ class Component extends SvelteElement {
null,
create_fragment,
safe_not_equal,
{}
{},
null
);
if (options) {

@ -57,7 +57,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { bar: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { bar: 0 }, null);
}
}

@ -98,7 +98,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponentDev {
constructor(options) {
super(options);
init(this, options, instance, create_fragment, safe_not_equal, { name: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { name: 0 }, null);
dispatch_dev("SvelteRegisterComponent", {
component: this,

@ -23,7 +23,6 @@ const file = undefined;
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[4] = list[i];
child_ctx.root = ctx.root;
return child_ctx;
}
@ -209,7 +208,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponentDev {
constructor(options) {
super(options);
init(this, options, instance, create_fragment, safe_not_equal, { things: 0, foo: 1, bar: 2, baz: 3 });
init(this, options, instance, create_fragment, safe_not_equal, { things: 0, foo: 1, bar: 2, baz: 3 }, null);
dispatch_dev("SvelteRegisterComponent", {
component: this,

@ -23,7 +23,6 @@ const file = undefined;
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[2] = list[i];
child_ctx.root = ctx.root;
return child_ctx;
}
@ -197,7 +196,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponentDev {
constructor(options) {
super(options);
init(this, options, instance, create_fragment, safe_not_equal, { things: 0, foo: 1 });
init(this, options, instance, create_fragment, safe_not_equal, { things: 0, foo: 1 }, null);
dispatch_dev("SvelteRegisterComponent", {
component: this,

@ -76,7 +76,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponentDev {
constructor(options) {
super(options);
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
dispatch_dev("SvelteRegisterComponent", {
component: this,

@ -21,7 +21,6 @@ function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[0] = list[i];
child_ctx[2] = i;
child_ctx.root = ctx.root;
return child_ctx;
}
@ -151,7 +150,7 @@ function instance($$self, $$props) {
class Component extends SvelteComponentDev {
constructor(options) {
super(options);
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
dispatch_dev("SvelteRegisterComponent", {
component: this,

@ -17,7 +17,6 @@ import {
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[1] = list[i];
child_ctx.root = ctx.root;
return child_ctx;
}
@ -115,7 +114,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { createElement: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { createElement: 0 }, null);
}
}

@ -20,7 +20,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, null, safe_not_equal, { foo: 0 });
init(this, options, instance, null, safe_not_equal, { foo: 0 }, null);
}
}

@ -102,7 +102,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponentDev {
constructor(options) {
super(options);
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, null);
dispatch_dev("SvelteRegisterComponent", {
component: this,

@ -45,7 +45,7 @@ function make_uppercase() {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -47,7 +47,7 @@ const func = () => import("./Foo.svelte");
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -17,7 +17,6 @@ import {
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[5] = list[i];
child_ctx.root = ctx.root;
return child_ctx;
}
@ -121,7 +120,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4 });
init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4 }, null);
}
}

@ -20,7 +20,6 @@ function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[4] = list[i];
child_ctx[6] = i;
child_ctx.root = ctx.root;
return child_ctx;
}
@ -167,7 +166,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { comments: 0, elapsed: 1, time: 2, foo: 3 });
init(this, options, instance, create_fragment, safe_not_equal, { comments: 0, elapsed: 1, time: 2, foo: 3 }, null);
}
}

@ -20,7 +20,6 @@ import {
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[1] = list[i];
child_ctx.root = ctx.root;
return child_ctx;
}
@ -140,7 +139,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { things: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { things: 0 }, null);
}
}

@ -18,7 +18,6 @@ import {
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[1] = list[i];
child_ctx.root = ctx.root;
return child_ctx;
}
@ -109,7 +108,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { things: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { things: 0 }, null);
}
}

@ -9,7 +9,7 @@ function instance($$self) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, null, safe_not_equal, {});
init(this, options, instance, null, safe_not_equal, {}, null);
}
}

@ -103,7 +103,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -46,7 +46,7 @@ const touchstart_handler = e => e.preventDefault();
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -86,7 +86,7 @@ function handleClick() {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -40,7 +40,7 @@ function create_fragment(ctx) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -38,7 +38,7 @@ function get_answer() {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -38,7 +38,7 @@ function get_answer() {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -57,7 +57,7 @@ function create_fragment(ctx) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -60,7 +60,7 @@ function instance($$self) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -98,7 +98,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, null);
}
}

@ -76,7 +76,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, null);
}
}

@ -46,7 +46,7 @@ function instance($$self) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -52,7 +52,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -56,7 +56,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { color: 0, x: 1, y: 2 });
init(this, options, instance, create_fragment, safe_not_equal, { color: 0, x: 1, y: 2 }, null);
}
}

@ -47,7 +47,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 }, null);
}
}

@ -47,7 +47,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { color: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { color: 0 }, null);
}
}

@ -66,7 +66,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { style: 0, key: 1, value: 2 });
init(this, options, instance, create_fragment, safe_not_equal, { style: 0, key: 1, value: 2 }, null);
}
}

@ -35,7 +35,7 @@ let color = "red";
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -59,7 +59,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { files: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { files: 0 }, null);
}
}

@ -83,7 +83,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -70,7 +70,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { value: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { value: 0 }, null);
}
}

@ -76,7 +76,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -63,7 +63,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { foo: 0 }, null);
}
}

@ -72,7 +72,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -68,7 +68,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -74,7 +74,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -72,7 +72,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -74,7 +74,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -33,7 +33,7 @@ function create_fragment(ctx) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -154,7 +154,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponentDev {
constructor(options) {
super(options);
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
dispatch_dev("SvelteRegisterComponent", {
component: this,

@ -215,7 +215,13 @@ class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {
init(
this,
options,
instance,
create_fragment,
safe_not_equal,
{
buffered: 0,
seekable: 1,
played: 2,
@ -227,7 +233,9 @@ class Component extends SvelteComponent {
playbackRate: 8,
seeking: 9,
ended: 10
});
},
null
);
}
}

@ -59,7 +59,7 @@ function create_fragment(ctx) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -34,7 +34,7 @@ let name = "world";
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -182,7 +182,7 @@ function instance($$self, $$props, $$invalidate) {
class Component_1 extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4, f: 5 });
init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4, f: 5 }, null);
}
}

@ -155,7 +155,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -26,7 +26,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, null, safe_not_equal, { x: 0 });
init(this, options, instance, null, safe_not_equal, { x: 0 }, null);
}
}

@ -22,7 +22,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, null, safe_not_equal, { a: 0, b: 1 });
init(this, options, instance, null, safe_not_equal, { a: 0, b: 1 }, null);
}
}

@ -60,7 +60,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { current: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { current: 0 }, null);
}
}

@ -14,7 +14,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, null, safe_not_equal, { foo: 0 });
init(this, options, instance, null, safe_not_equal, { foo: 0 }, null);
}
get foo() {

@ -78,7 +78,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { url: 0, slug: 1 });
init(this, options, instance, create_fragment, safe_not_equal, { url: 0, slug: 1 }, null);
}
}

@ -39,7 +39,7 @@ function create_fragment(ctx) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -32,7 +32,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { custom: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { custom: 0 }, null);
}
}

@ -135,7 +135,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { x: 0, y: 1 });
init(this, options, instance, create_fragment, safe_not_equal, { x: 0, y: 1 }, null);
}
}

@ -112,7 +112,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { num: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { num: 0 }, null);
}
}

@ -85,7 +85,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -69,7 +69,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -257,7 +257,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4 });
init(this, options, instance, create_fragment, safe_not_equal, { a: 0, b: 1, c: 2, d: 3, e: 4 }, null);
}
}

@ -32,7 +32,7 @@ function create_fragment(ctx) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, null, create_fragment, safe_not_equal, {}, null);
}
}

@ -115,12 +115,20 @@ class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {
init(
this,
options,
instance,
create_fragment,
safe_not_equal,
{
currentTime: 0,
videoHeight: 1,
videoWidth: 2,
offsetWidth: 3
});
},
null
);
}
}

@ -49,7 +49,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {}, null);
}
}

@ -88,7 +88,7 @@ function instance($$self, $$props, $$invalidate) {
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { y: 0 });
init(this, options, instance, create_fragment, safe_not_equal, { y: 0 }, null);
}
}

@ -5,7 +5,7 @@ const b64dec = s => Buffer.from(s, 'base64').toString();
export async function test({ assert, css, js }) {
// We check that the css source map embedded in the js is accurate
const match = js.code.match(/\tappend_styles\(options, ".{6}", "(.*?)(?:\\n\/\*# sourceMappingURL=data:(.*?);charset=(.*?);base64,(.*?) \*\/)?"\);\n/);
const match = js.code.match(/\tappend_styles\(target, ".{6}", "(.*?)(?:\\n\/\*# sourceMappingURL=data:(.*?);charset=(.*?);base64,(.*?) \*\/)?"\);\n/);
assert.notEqual(match, null);
const [mimeType, encoding, cssMapBase64] = match.slice(2);

Loading…
Cancel
Save