Files
open-web-agent-rs/packages/core/quotes/quote.test.ts
geoffsee 66d3c06230 init
2025-05-23 09:48:26 -04:00

17 lines
452 B
TypeScript

import {describe, it} from 'vitest';
import {QuoteStore} from "./models";
describe('QuoteStore', () => {
it('should get data for symbols using the quoteManager', async () => {
const testApiKey = '';
const quoteManager = QuoteStore.create({
apiKey: testApiKey,
});
const symbol = 'BTC';
const data = await quoteManager.fetchQuote(symbol);
console.log(JSON.stringify(data));
});
});