Skip to content

Commit

Permalink
Merge pull request #220 from starknet-io/fix/test
Browse files Browse the repository at this point in the history
fix: permission import
  • Loading branch information
dhruvkelawala authored Mar 26, 2024
2 parents 9d8cf71 + e955a53 commit 198f0ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/__test__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { mockStorageFunction } from "./storage.mock"
import {
ArgentXMock,
BraavosMock,
makeAuthorized,
UnknownWalletAMock,
UnknownWalletBMock,
makeAuthorized,
} from "./wallet.mock"
import { describe, expect, it } from "vitest"

Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/__test__/storage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { mockStorageFunction } from "./storage.mock"
import {
ArgentXMock,
BraavosMock,
makeAuthorized,
makeConnected,
UnknownWalletAMock,
UnknownWalletBMock,
makeAuthorized,
makeConnected,
} from "./wallet.mock"
import { describe, expect, it } from "vitest"

Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/__test__/wallet.mock.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Permission, StarknetWindowObject } from "../StarknetWindowObject"
import { StarknetWindowObject } from "../StarknetWindowObject"
import wallets from "../discovery"
import { Permission } from "../rpcMessage"

type WalletMock = Pick<StarknetWindowObject, "id" | "name" | "icon" | "request">

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/discovery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const wallets: WalletProvider[] = [
chrome:
"https://chrome.google.com/webstore/detail/argent-x-starknet-wallet/dlcobpjiigpikoobohmabehhmhfoodbb",
firefox: "https://addons.mozilla.org/en-US/firefox/addon/argent-x",
edge: "https://microsoftedge.microsoft.com/addons/detail/argent-x/ajcicjlkibolbeaaagejfhnofogocgcj"
edge: "https://microsoftedge.microsoft.com/addons/detail/argent-x/ajcicjlkibolbeaaagejfhnofogocgcj",
},
},
{
Expand Down

0 comments on commit 198f0ed

Please sign in to comment.