Skip to content

Commit 670fadf

Browse files
committed
update test
1 parent 6f60ed8 commit 670fadf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/js/samples/capture-inject-dev-only/expected.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
noop,
1111
safe_not_equal,
1212
set_data,
13+
set_input_value,
1314
space,
1415
text
1516
} from "svelte/internal";
@@ -32,15 +33,15 @@ function create_fragment(ctx) {
3233
insert(target, t1, anchor);
3334
insert(target, input, anchor);
3435

35-
input.value = ctx.foo;
36+
set_input_value(input, ctx.foo);
3637
},
3738

3839
p(changed, ctx) {
3940
if (changed.foo) {
4041
set_data(t0, ctx.foo);
4142
}
4243

43-
if (changed.foo && (input.value !== ctx.foo)) input.value = ctx.foo;
44+
if (changed.foo && (input.value !== ctx.foo)) set_input_value(input, ctx.foo);
4445
},
4546

4647
i: noop,

0 commit comments

Comments
 (0)