forked from Lilly-Protocol/lily-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.test.ts
More file actions
36 lines (35 loc) · 1010 Bytes
/
Copy pathindex.test.ts
File metadata and controls
36 lines (35 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { describe, expect, it } from 'vitest';
import {
AgentClient,
IdentityClient,
LilyApiError,
LilyAuthenticationError,
LilyConfigError,
LilySdk,
LilySdkError,
LilyTransportError,
LilyValidationError,
PaymentClient,
SystemClient,
WalletClient,
resolveLilySdkConfig,
} from '../src/index';
describe('public package entrypoint', () => {
it.each([
['LilySdk', LilySdk],
['AgentClient', AgentClient],
['IdentityClient', IdentityClient],
['PaymentClient', PaymentClient],
['SystemClient', SystemClient],
['WalletClient', WalletClient],
['LilySdkError', LilySdkError],
['LilyConfigError', LilyConfigError],
['LilyApiError', LilyApiError],
['LilyAuthenticationError', LilyAuthenticationError],
['LilyTransportError', LilyTransportError],
['LilyValidationError', LilyValidationError],
['resolveLilySdkConfig', resolveLilySdkConfig],
])('exports %s', (_name, exportedSymbol) => {
expect(exportedSymbol).toBeDefined();
});
});