feat: add e2e integration tests and canonical versioning

This commit is contained in:
Aarnav Tale
2025-11-16 18:31:09 -05:00
parent 63d1e84ebe
commit 08a251cc8c
16 changed files with 536 additions and 17 deletions
+11
View File
@@ -0,0 +1,11 @@
import { describe, expect, test } from 'vitest';
import { getRuntimeClient, HS_VERSIONS } from './setup/env';
describe.for(HS_VERSIONS)('Headscale %s: API Keys', (version) => {
test('api keys can be fetched', async () => {
const client = await getRuntimeClient(version);
const apiKeys = await client.getApiKeys();
expect(Array.isArray(apiKeys)).toBe(true);
expect(apiKeys.length).toBe(1);
});
});