fix(skr.classes.account): Remove incorrect SKR04 automatic account 3300; improve VAT posting validation and test isolation; update readme hints and CI settings

This commit is contained in:
2025-10-28 08:50:32 +00:00
parent d21876c14f
commit 119c12901a
7 changed files with 94 additions and 8 deletions

View File

@@ -7,10 +7,12 @@ let testConfig: Awaited<ReturnType<typeof getTestConfig>>;
tap.test('should initialize SKR04 API', async () => {
testConfig = await getTestConfig();
// Use timestamp to ensure unique database for each test run
const timestamp = Date.now();
api = new skr.SkrApi({
mongoDbUrl: testConfig.mongoDbUrl,
dbName: `${testConfig.mongoDbName}_skr04`,
dbName: `${testConfig.mongoDbName}_skr04_${timestamp}`,
});
await api.initialize('SKR04');