Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
chore: install bun-types and configure for bun:test imports
Browse files Browse the repository at this point in the history
  • Loading branch information
drichar committed Dec 5, 2023
1 parent 1178113 commit acb81ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions __tests__/wallets/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import algosdk from 'algosdk'
import { describe, expect, it } from 'bun:test'
import {
compareAccounts,
deepMerge,
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@
"@randlabs/myalgo-connect": "^1.4.2",
"@types/jest": "^29.5.10",
"@types/node": "^20.6.5",
"@types/web": "^0.0.125",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@walletconnect/modal": "^2.6.2",
"@walletconnect/sign-client": "^2.10.2",
"@walletconnect/types": "^2.10.2",
"bun-types": "^1.0.15",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"noEmit": true,
"baseUrl": ".",
"rootDir": ".",
"outDir": "dist"
"outDir": "dist",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"types": ["web", "bun-types"]
},
"exclude": ["node_modules", "dist"]
}

0 comments on commit acb81ea

Please sign in to comment.