diff --git a/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component1.svelte b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component1.svelte new file mode 100644 index 0000000000..eda0311a09 --- /dev/null +++ b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component1.svelte @@ -0,0 +1,16 @@ + + + + + + +

Component 2 header

+
+ + + + + +
diff --git a/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component2.svelte b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component2.svelte new file mode 100644 index 0000000000..b6e2c4228f --- /dev/null +++ b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component2.svelte @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component3.svelte b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component3.svelte new file mode 100644 index 0000000000..46ab3b0cfa --- /dev/null +++ b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component3.svelte @@ -0,0 +1,9 @@ + + + + + + + diff --git a/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component4.svelte b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component4.svelte new file mode 100644 index 0000000000..5e4fac020a --- /dev/null +++ b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/Component4.svelte @@ -0,0 +1,3 @@ +First slot's default text +Second slot's default text +Third slot's default text diff --git a/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/_config.js b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/_config.js new file mode 100644 index 0000000000..e3483b9cfa --- /dev/null +++ b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/_config.js @@ -0,0 +1,7 @@ +export default { + html: ` +

Component 2 header

+

Component 2 header

+ Third slot's default text + ` +}; diff --git a/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/main.svelte b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/main.svelte new file mode 100644 index 0000000000..23fe9df487 --- /dev/null +++ b/test/runtime/samples/deep-slot-default-forward-fragment-has-slots-and-content/main.svelte @@ -0,0 +1,5 @@ + + +