Skip to content

Introduce StrippedLocation for mocking browser location and domain#53

Merged
nedtwigg merged 6 commits intomainfrom
feat/stripped-location
Sep 17, 2025
Merged

Introduce StrippedLocation for mocking browser location and domain#53
nedtwigg merged 6 commits intomainfrom
feat/stripped-location

Conversation

@nedtwigg
Copy link
Copy Markdown
Member

Introduce StrippedLocation which we pass around explicitly

export interface StrippedLocation {
  host: string
  pathname: string
}

This lets us mock better in our test environment.

@nedtwigg nedtwigg marked this pull request as ready for review September 17, 2025 23:37
@nedtwigg nedtwigg merged commit 9195392 into main Sep 17, 2025
1 check passed
@nedtwigg nedtwigg deleted the feat/stripped-location branch September 17, 2025 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant