Skip to content

Commit

Permalink
name changes and changed to internal dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Seesti committed Jun 12, 2024
1 parent 8ba6b74 commit d762ea3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions maventa/MaventaService.system.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { HgNode } from '../../node/HgNode';
describe('MaventaService System Tests', () => {

beforeAll(() => {
// This assumes HgNode has been imported and is appropriate for initializing your HTTP client
HgNode.initialize();
console.log('Running system tests against:', MaventaConfig.baseUrl);
});
Expand All @@ -21,12 +20,10 @@ describe('MaventaService System Tests', () => {
console.log(`Invoice Status: ${invoices[0].status}`);
console.log(`Invoice Amount: ${invoices[0].sum}`);

// Assertions to check if the invoice data is in the expected format
expect(invoices[0]).toHaveProperty('id');
expect(invoices[0]).toHaveProperty('status');
expect(invoices[0].id).toBeDefined();
expect(invoices[0].status).toBeDefined();
// Add more detailed checks as needed
} else {
console.log('No invoices found.');
}
Expand Down

0 comments on commit d762ea3

Please sign in to comment.