Feature/refactor search functionality (#105)
* Refactor search functionality * Update changelog * Improvements after code reviewpull/108/head
parent
79edc09710
commit
200a7d2d65
@ -1,4 +1,7 @@
|
|||||||
|
import { DataSource } from '@prisma/client';
|
||||||
|
|
||||||
export interface LookupItem {
|
export interface LookupItem {
|
||||||
|
dataSource: DataSource;
|
||||||
name: string;
|
name: string;
|
||||||
symbol: string;
|
symbol: string;
|
||||||
}
|
}
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
/*
|
|
||||||
import { Test } from '@nestjs/testing';
|
|
||||||
|
|
||||||
import { YahooFinanceService } from './yahoo-finance.service';
|
|
||||||
|
|
||||||
describe('AppService', () => {
|
|
||||||
let service: YahooFinanceService;
|
|
||||||
|
|
||||||
beforeAll(async () => {
|
|
||||||
const app = await Test.createTestingModule({
|
|
||||||
imports: [],
|
|
||||||
providers: [YahooFinanceService]
|
|
||||||
}).compile();
|
|
||||||
|
|
||||||
service = app.get<YahooFinanceService>(YahooFinanceService);
|
|
||||||
});
|
|
||||||
|
|
||||||
describe('get', () => {
|
|
||||||
it('should return data for USDCHF', () => {
|
|
||||||
expect(service.get(['USDCHF'])).toEqual('{}');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
*/
|
|
Loading…
Reference in new issue