Skip to content

Commit 896bc27

Browse files
committed
fix: update import path for PermissionType and ensure proper disconnection of arweaveWallet
1 parent a53367e commit 896bc27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/index.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { PermissionType } from '../src'
1+
import type { PermissionType } from '../src/types'
22
import Arweave from 'arweave'
33
import { afterAll, beforeAll, describe, expect, it } from 'vitest'
44
import { NodeArweaveWallet } from '../src'
@@ -46,6 +46,7 @@ describe('nodeArweaveWallet API Methods', () => {
4646
}, 60000) // 60 second timeout for initialization
4747

4848
afterAll(async () => {
49+
await arweaveWallet.disconnect()
4950
await arweaveWallet.close('success')
5051
})
5152

0 commit comments

Comments
 (0)