Feature/restructure import test files (#4977)

* Restructure import test files
This commit is contained in:
Thomas Kaul
2025-06-27 20:54:01 +02:00
committed by GitHub
parent 5dfe9b54fe
commit 1ec81d352b
29 changed files with 6 additions and 6 deletions

View File

@ -63,7 +63,7 @@ describe('PortfolioCalculator', () => {
beforeAll(() => {
activityDtos = loadActivityExportFile(
join(__dirname, '../../../../../../../test/import/ok-btceur.json')
join(__dirname, '../../../../../../../test/import/ok/btceur.json')
);
});

View File

@ -63,7 +63,7 @@ describe('PortfolioCalculator', () => {
beforeAll(() => {
activityDtos = loadActivityExportFile(
join(__dirname, '../../../../../../../test/import/ok-btcusd.json')
join(__dirname, '../../../../../../../test/import/ok/btcusd.json')
);
});

View File

@ -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'
)
);
});

View File

@ -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'
)
);
});

View File

@ -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
>