# Refactor analytics flush test to use Effect NodeServices · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/14022f1d00a4209762e6bfa1557da9082535b0a5)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 14022f1d00a4209762e6bfa1557da9082535b0a5

Requested commit: 14022f1d00a4209762e6bfa1557da9082535b0a5

Commit: 14022f1d00a4209762e6bfa1557da9082535b0a5

Tree: 6a0f739ddd4eeb6b1209a551b92b0939a5c71c26

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Refactor analytics flush test to use Effect NodeServices

- Wrap test in `it.layer(NodeServices.layer)` for Node service provisioning
- Replace manual temp dir setup/cleanup with scoped `FileSystem.makeTempDirectoryScoped`
- Keep multi-batch flush assertions while simplifying test runtime wiring

```

## Parents

- [28c62f3efde14782e1c0e96c40cc80aabb7282f0](https://git.cafe/screen/t3code-personal/commit/28c62f3efde14782e1c0e96c40cc80aabb7282f0?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/14022f1d00a4209762e6bfa1557da9082535b0a5?format=markdown)
