mirror of https://github.com/buster-so/buster.git
9 lines
312 B
TypeScript
9 lines
312 B
TypeScript
|
import { attachListeners } from '@mastra/evals';
|
||
|
import { beforeAll } from 'vitest';
|
||
|
import { mastra } from '../src/index'; // Assuming mastra instance is exported from src/index.ts
|
||
|
|
||
|
beforeAll(async () => {
|
||
|
// Store evals in Mastra Storage (requires storage to be enabled)
|
||
|
await attachListeners(mastra);
|
||
|
});
|