Skip to content

Commit

Permalink
Rename sveltekit e2e directory (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis authored Mar 11, 2023
1 parent 4dadaf9 commit adbc534
Show file tree
Hide file tree
Showing 243 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .graphqlrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ projects:
# 👇 For vscode-graphql and intellisense
schema:
- e2e/_api/*.graphql
- e2e/sveltekit/$houdini/graphql/schema.graphql
- e2e/kit/$houdini/graphql/schema.graphql
documents:
- e2e/sveltekit/src/**/*.gql
- e2e/sveltekit/src/**/*.svelte
- e2e/sveltekit/$houdini/graphql/documents.gql
- e2e/kit/src/**/*.gql
- e2e/kit/src/**/*.svelte
- e2e/kit/$houdini/graphql/documents.gql
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { setSession } from '$houdini';
import type { Handle } from '@sveltejs/kit';

export const handle = (async ({ event, resolve }) => {
export const handle: Handle = async ({ event, resolve }) => {
// set the session information for this event
setSession(event, { user: { token: '1234-Houdini-Token-5678' } });

// pass the event onto the default handle
return await resolve(event);
}) satisfies Handle;
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions site/src/routes/guides/contributing/+page.svx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Keeping documentation up to date is as important as _any_ bug fix or new feature

## Local Development

The quickest way to test and develop new features is by using the [end-to-end tests](https://github.com/HoudiniGraphQL/houdini/tree/main/e2e/sveltekit).
The quickest way to test and develop new features is by using the [end-to-end tests](https://github.com/HoudiniGraphQL/houdini/tree/main/e2e/kit).
Starting with `pnpm i && pnpm build` at the root of the repository will handle the details
of linking everything up. Once pnpm is done, run `pnpm dev` inside of the `e2e/sveltekit`
of linking everything up. Once pnpm is done, run `pnpm dev` inside of the `e2e/kit`
directory to start both the web app & API development servers. After all of this, you
should be able to visit `localhost:5173` in a web browser and see the end-to-end test suite. We recommend creating a
route in this application to work against. Don't worry about where it "belongs" - we'll make sure it goes in the right
Expand Down

0 comments on commit adbc534

Please sign in to comment.