---
url: >-
  https://lit-ui-router.dev/api/lit-ui-router-ssr/testing/functions/stampServed.md
---
[lit-ui-router-ssr](../../index.md) / [testing](../index.md) / stampServed

# Function: stampServed()

```ts
function stampServed(root): ServedStamp;
```

Defined in: [packages/lit-ui-router-ssr/src/testing.ts:39](https://github.com/simshanith/lit-ui-router/blob/3f55e419faf009567db729db221186a55d7675fe/packages/lit-ui-router-ssr/src/testing.ts#L39)

Stamps every element under `root`, descending into open shadow roots.
`root` itself is not counted. Call it after the prerender is in the
document and before the client boots.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `root` | `ParentNode` |

## Returns

[`ServedStamp`](../interfaces/ServedStamp.md)
