Skip to content

Commit d80bcad

Browse files
committed
move tests to runtime section
1 parent 8325ca2 commit d80bcad

File tree

13 files changed

+14
-277
lines changed

13 files changed

+14
-277
lines changed

src/runtime/transition/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function blur(node: Element, {
3636
delay,
3737
duration,
3838
easing,
39-
css: (t, u) => `opacity: ${target_opacity - (od * u)}; filter: ${f} blur(${u * amount}px);`
39+
css: (_t, u) => `opacity: ${target_opacity - (od * u)}; filter: ${f} blur(${u * amount}px);`
4040
};
4141
}
4242

test/js/samples/declaration-assignment-emersion/expected.js

-72
This file was deleted.

test/js/samples/declaration-assignment-for/expected.js

-68
This file was deleted.

test/js/samples/declaration-assignment/expected.js

-65
This file was deleted.

test/js/samples/declaration-no-assignment/expected.js

-70
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
html: `<h1>1 1</h1>`
3+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
html: `<h1>2 2</h1>`
3+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
html: `<h1>1 1</h1>`
3+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
html: `<h1>0 0</h1>`
3+
};

test/js/samples/declaration-assignment-for/input.svelte test/runtime/samples/reactive-assignment-in-for-loop-head/main.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
let foo1;
33
let foo2;
44
for (let bar = (foo1 = 0); bar < 5; bar += 1) {
5-
foo1 = foo2;
5+
foo2 = foo1;
66
}
77
</script>
88

0 commit comments

Comments
 (0)