Skip to content

Commit d2ada93

Browse files
committed
fix test
1 parent 77a184e commit d2ada93

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/kit/test/apps/basics/src/routes/remote/+page.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import { q } from './accessing-env.remote';
21
import { echo } from './query-command.remote';
32

43
export async function load() {
5-
q();
64
return {
75
echo_result: await echo('Hello world')
86
};

packages/kit/test/apps/basics/src/routes/remote/+page.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@
99
set_count_server_set,
1010
resolve_deferreds
1111
} from './query-command.remote.js';
12+
import { q } from './accessing-env.remote';
1213
1314
let { data } = $props();
1415
1516
let command_result = $state(null);
16-
let release;
17+
18+
// we just want it not to be treeshaken away
19+
q;
1720
1821
const count = browser ? get_count() : null; // so that we get a remote request in the browser
1922
</script>

0 commit comments

Comments
 (0)