Export Protocol and mergeCapabilities from client/server package roots (#2501)

This commit is contained in:
Felix Weinberger 2026-07-17 14:37:31 +01:00 • committed by GitHub
commit 1480241e2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,14 @@
/**
* Pins that `Protocol` and `mergeCapabilities` are exported from the package
* root (carried by the `export *` of the core-internal public barrel).
*/
import { describe, expect, test } from 'vitest';
import { mergeCapabilities, Protocol } from '../../src/index';
describe('package root exports', () => {
test('Protocol and mergeCapabilities are exported from the client root', () => {
expect(typeof Protocol).toBe('function');
expect(typeof mergeCapabilities).toBe('function');
});
});