Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tellet-q committed Dec 18, 2024
1 parent 2e56f89 commit 5e316de
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/js-client-grpc/tests/unit/client-version.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {test, expect} from 'vitest';
import {version} from '../../package.json';
import {PACKAGE_VERSION} from '../../src/client-version.js';

test('Client version is consistent', () => {
expect(version).toBe(PACKAGE_VERSION);
});
7 changes: 7 additions & 0 deletions packages/js-client-rest/tests/unit/client-version.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {test, expect} from 'vitest';
import {version} from '../../package.json';
import {PACKAGE_VERSION} from '../../src/client-version.js';

test('Client version is consistent', () => {
expect(version).toBe(PACKAGE_VERSION);
});

0 comments on commit 5e316de

Please sign in to comment.