init
This commit is contained in:
17
packages/core/quotes/quote.test.ts
Normal file
17
packages/core/quotes/quote.test.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
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));
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user