Feature/restructure import test files (#4977)
* Restructure import test files
This commit is contained in:
@ -63,7 +63,7 @@ describe('PortfolioCalculator', () => {
|
||||
|
||||
beforeAll(() => {
|
||||
activityDtos = loadActivityExportFile(
|
||||
join(__dirname, '../../../../../../../test/import/ok-btceur.json')
|
||||
join(__dirname, '../../../../../../../test/import/ok/btceur.json')
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -63,7 +63,7 @@ describe('PortfolioCalculator', () => {
|
||||
|
||||
beforeAll(() => {
|
||||
activityDtos = loadActivityExportFile(
|
||||
join(__dirname, '../../../../../../../test/import/ok-btcusd.json')
|
||||
join(__dirname, '../../../../../../../test/import/ok/btcusd.json')
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -65,7 +65,7 @@ describe('PortfolioCalculator', () => {
|
||||
activityDtos = loadActivityExportFile(
|
||||
join(
|
||||
__dirname,
|
||||
'../../../../../../../test/import/ok-novn-buy-and-sell-partially.json'
|
||||
'../../../../../../../test/import/ok/novn-buy-and-sell-partially.json'
|
||||
)
|
||||
);
|
||||
});
|
||||
|
@ -65,7 +65,7 @@ describe('PortfolioCalculator', () => {
|
||||
activityDtos = loadActivityExportFile(
|
||||
join(
|
||||
__dirname,
|
||||
'../../../../../../../test/import/ok-novn-buy-and-sell.json'
|
||||
'../../../../../../../test/import/ok/novn-buy-and-sell.json'
|
||||
)
|
||||
);
|
||||
});
|
||||
|
@ -90,13 +90,13 @@
|
||||
>The following file formats are supported:</span
|
||||
>
|
||||
<a
|
||||
href="https://github.com/ghostfolio/ghostfolio/blob/main/test/import/ok.csv"
|
||||
href="https://github.com/ghostfolio/ghostfolio/blob/main/test/import/ok/sample.csv"
|
||||
target="_blank"
|
||||
>CSV</a
|
||||
>
|
||||
<span class="mx-1" i18n>or</span>
|
||||
<a
|
||||
href="https://github.com/ghostfolio/ghostfolio/blob/main/test/import/ok.json"
|
||||
href="https://github.com/ghostfolio/ghostfolio/blob/main/test/import/ok/sample.json"
|
||||
target="_blank"
|
||||
>JSON</a
|
||||
>
|
||||
|
Reference in New Issue
Block a user