MCPcopy Create free account
hub / github.com/simstudioai/sim / setSearch

Function setSearch

apps/sim/app/_shell/providers/session-provider.test.tsx:55–57  ·  view source on GitHub ↗

Set the jsdom URL search string before rendering the provider.

(search: string)

Source from the content-addressed store, hash-verified

53
54/** Set the jsdom URL search string before rendering the provider. */
55function setSearch(search: string) {
56 window.history.replaceState({}, '', `/${search}`)
57}
58
59const STALE_SESSION: AppSession = {
60 user: { id: 'user-1', email: 'u@x.com', name: 'Stale plan' },

Callers 15

chip-dropdown.tsxFile · 0.85
LandingPreviewResourceFunction · 0.85
LandingPreviewLogsFunction · 0.85
handleSelectFunction · 0.85
handleOpenChangeFunction · 0.85
handleOpenChangeFunction · 0.85
selectFunction · 0.85
AddResourceDropdownFunction · 0.85
handleCloseFunction · 0.85
TransferOwnershipDialogFunction · 0.85
SearchModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected