From 6d593c6a25cb4f3d4a129f52e0be0ccfd403cf89 Mon Sep 17 00:00:00 2001
From: Emmanuel Raviart <emmanuel@raviart.com>
Date: Thu, 9 Jan 2025 11:17:26 +0100
Subject: [PATCH] Remove test page

---
 src/lib/components/TestComponent.svelte | 14 --------
 src/routes/test/+page.svelte            | 45 -------------------------
 2 files changed, 59 deletions(-)
 delete mode 100644 src/lib/components/TestComponent.svelte
 delete mode 100644 src/routes/test/+page.svelte

diff --git a/src/lib/components/TestComponent.svelte b/src/lib/components/TestComponent.svelte
deleted file mode 100644
index 7dfcd36cd..000000000
--- a/src/lib/components/TestComponent.svelte
+++ /dev/null
@@ -1,14 +0,0 @@
-<script lang="ts">
-  let { variable } = $props()
-
-  const yFromQuantile = (_variableA: string = variable.a) => {
-    return _variableA
-  }
-
-  const arr = [0, 1, 2]
-</script>
-
-{#each arr as item}
-  {@const val = yFromQuantile()}
-  {val}
-{/each}
diff --git a/src/routes/test/+page.svelte b/src/routes/test/+page.svelte
deleted file mode 100644
index 5543ba48b..000000000
--- a/src/routes/test/+page.svelte
+++ /dev/null
@@ -1,45 +0,0 @@
-<script lang="ts">
-  import TestComponent from "$lib/components/TestComponent.svelte"
-
-  let variable = $state({
-    a: 1,
-    b: 2,
-  })
-
-  setTimeout(() => {
-    variable = undefined
-  }, 3000)
-</script>
-
-{#if variable !== undefined}
-  <TestComponent {variable} />
-{:else}
-  success
-{/if}
-
-<!--<script lang="ts">-->
-<!--  import { untrack } from "svelte"-->
-
-<!--  let x = $state(0)-->
-<!--  let variable = $state({-->
-<!--    a: 1,-->
-<!--    b: 2,-->
-<!--  })-->
-
-<!--  $effect(() => {-->
-<!--    if (x) {-->
-<!--      untrack(() => {-->
-<!--        variable = {-->
-<!--          a: 3,-->
-<!--          b: 4,-->
-<!--        }-->
-
-<!--        $inspect(variable.a)-->
-<!--      })-->
-<!--    }-->
-<!--  })-->
-<!--</script>-->
-
-<!--<button onclick={() => x++}> Plus </button>-->
-
-<!--{x}-->
-- 
GitLab