---
title: "Discussion on \"Mastra 'Memory requires a storage provider to function': fixing it in tests, evals and CI\" | Hashnode"
description: "Discussion on \"Mastra 'Memory requires a storage provider to function': fixing it in tests, evals and CI\". Memory with no storage of its own falls back to the Mastra instance's storage. In tests that construct the agent on its own, there isn't one."
url: "https://hashnode.com/posts/mastra-memory-requires-a-storage-provider/6ae37299359c79784c32eab0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mastra 'Memory requires a storage provider to function': fixing it in tests, evals and CI](https://memorysync.hashnode.dev/mastra-memory-requires-a-storage-provider?utm_source=hashnode&utm_medium=feed)

Memory with no storage of its own falls back to the Mastra instance's storage. In tests that construct the agent on its own, there isn't one.

Oct 29 · 6 min read · memorysync.hashnode.dev  
Updated Oct 30  
Read the article

-   [#mastra](https://hashnode.com/tag/mastra)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#ai](https://hashnode.com/tag/ai)
-   [#agents](https://hashnode.com/tag/agents)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[MemorySync](https://hashnode.com/@memorysync)

@memorysync · San Francisco, USA

  
[View profile](https://hashnode.com/@memorysync)

Building MemorySync (memorysync.io) — persistent memory infrastructure for AI agents, Cursor, and Claude Code.

Building MemorySync (memorysync.io) — persistent memory infrastructure for AI agents, Cursor, and Claude Code.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
