Skip to content

Commit

Permalink
test: fix svelte snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
tivac committed Mar 8, 2018
1 parent aca0cf5 commit 3b1a176
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/svelte/test/__snapshots__/rollup.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function callAll(fns) {
}
function _mount(target, anchor) {
this._fragment.m(target, anchor);
this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor || null);
}
function _unmount() {
Expand All @@ -194,7 +194,7 @@ var proto = {
function create_main_fragment(state, component) {
function create_main_fragment(component, state) {
var div, h1, text_1, div_1, p, p_class_value;
return {
Expand Down Expand Up @@ -238,11 +238,11 @@ function Svelte(options) {
init(this, options);
this._state = assign({}, options.data);
this._fragment = create_main_fragment(this._state, this);
this._fragment = create_main_fragment(this, this._state);
if (options.target) {
this._fragment.c();
this._fragment.m(options.target, options.anchor || null);
this._mount(options.target, options.anchor);
}
}
Expand Down

0 comments on commit 3b1a176

Please sign in to comment.