Export Protocol and mergeCapabilities from client/server package roots (#2501)
This commit is contained in:
parent
e81758caed
commit
1480241e2a
1 changed files with 246 additions and 73 deletions
14
packages/client/test/client/protocolExport.test.ts
Normal file
14
packages/client/test/client/protocolExport.test.ts
Normal 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');
|
||||
});
|
||||
});
|
||||
Loading…
Reference in a new issue