Cory Virok

Results 37 comments of Cory Virok

> > Bump. > > Any updates on this? Without this fix, certain types of access patterns are not possible with Kit. > > E.g. It's not possible to load...

> I tried to do what you're saying by making a nested page with a route param according to the url param you want to switch. Then surrounding the […](#)...

I'm running into the same issue with accessing `$env` from tests, just like @Smirow mentioned. Is there a workaround for this?

I'm using this and it seems to work: ```js // tsconfig.json { "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { // Everything below is required for Playwright tests to access path aliases "baseUrl": ".",...

I haven't tried it, but it looks like you'll need to compile separately: from https://playwright.dev/docs/test-typescript ``` { "scripts": { "pretest": "tsc --incremental -p tests/tsconfig.json", "test": "playwright test -c tests-out" }...

For sure. Here is the SvelteKit skeleton app with upgraded deps + env mocks for Playwright. https://github.com/coryvirok/tmp-mock-env-sveltekit

I'm not familiar with the svelte query lib but here's what I would recommend: Add another file to your mocks folder called app.ts. From there, export whichever vars are used...

For anyone else still struggling to use UNIX domain sockets in the database URL: I wasn't able to get a URI with socket path working with this lib so I...