We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9f1e8b commit 7a4ae5aCopy full SHA for 7a4ae5a
tests/typesIndex.test.ts
@@ -7,6 +7,11 @@ describe('types index exports', () => {
7
const provider = await import('../src/context/HgraphProvider')
8
expect(types.useHgraph).toBe(hooks.useHgraph)
9
expect(types.HgraphProvider).toBe(provider.HgraphProvider)
10
+
11
+ // accessing these triggers getter functions defined in the index
12
+ const ethers = await import('ethers')
13
+ expect(types.EthersContract).toBe(ethers.Contract)
14
+ expect(types.EventLogDescription).toBe(ethers.LogDescription)
15
})
16
17
it('exports enums and default client class', async () => {
0 commit comments