Skip to content

Commit

Permalink
feat(framework): update novu framework headers
Browse files Browse the repository at this point in the history
Fix tests, add new test
  • Loading branch information
denis-kralj-novu committed Jun 26, 2024
1 parent da515ec commit 3eaf72b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apps/api/src/app/events/e2e/echo-health-check.e2e-ee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,16 @@ describe('Echo Health Check', async () => {
expect(result.data.status).to.equal('ok');
});

it('should have a version', async () => {
it('should have an sdk version', async () => {
const result = await axios.get(frameworkClient.serverPath + '/echo?action=health-check');

expect(result.data.version).to.be.a('string');
expect(result.data.sdkVersion).to.be.a('string');
});

it('should have a framework version', async () => {
const result = await axios.get(frameworkClient.serverPath + '/echo?action=health-check');

expect(result.data.frameworkVersion).to.be.a('string');
});

it('should return the discovered resources', async () => {
Expand Down

0 comments on commit 3eaf72b

Please sign in to comment.