|
| 1 | +import { expect, test } from 'vitest' |
| 2 | + |
| 3 | +import * as query from './query.js' |
| 4 | + |
| 5 | +test('exports', () => { |
| 6 | + expect(Object.keys(query)).toMatchInlineSnapshot(` |
| 7 | + [ |
| 8 | + "callQueryKey", |
| 9 | + "callQueryOptions", |
| 10 | + "connectMutationOptions", |
| 11 | + "deployContractMutationOptions", |
| 12 | + "disconnectMutationOptions", |
| 13 | + "estimateFeesPerGasQueryKey", |
| 14 | + "estimateFeesPerGasQueryOptions", |
| 15 | + "estimateGasQueryKey", |
| 16 | + "estimateGasQueryOptions", |
| 17 | + "estimateMaxPriorityFeePerGasQueryKey", |
| 18 | + "estimateMaxPriorityFeePerGasQueryOptions", |
| 19 | + "getBalanceQueryKey", |
| 20 | + "getBalanceQueryOptions", |
| 21 | + "getBlobBaseFeeQueryKey", |
| 22 | + "getBlobBaseFeeQueryOptions", |
| 23 | + "getBlockNumberQueryKey", |
| 24 | + "getBlockNumberQueryOptions", |
| 25 | + "getBlockQueryKey", |
| 26 | + "getBlockQueryOptions", |
| 27 | + "getBlockTransactionCountQueryKey", |
| 28 | + "getBlockTransactionCountQueryOptions", |
| 29 | + "getBytecodeQueryKey", |
| 30 | + "getBytecodeQueryOptions", |
| 31 | + "getCallsStatusQueryKey", |
| 32 | + "getCallsStatusQueryOptions", |
| 33 | + "getCapabilitiesQueryKey", |
| 34 | + "getCapabilitiesQueryOptions", |
| 35 | + "getConnectorClientQueryKey", |
| 36 | + "getConnectorClientQueryOptions", |
| 37 | + "getContractEventsQueryKey", |
| 38 | + "getContractEventsQueryOptions", |
| 39 | + "getEnsAddressQueryKey", |
| 40 | + "getEnsAddressQueryOptions", |
| 41 | + "getEnsAvatarQueryKey", |
| 42 | + "getEnsAvatarQueryOptions", |
| 43 | + "getEnsNameQueryKey", |
| 44 | + "getEnsNameQueryOptions", |
| 45 | + "getEnsResolverQueryKey", |
| 46 | + "getEnsResolverQueryOptions", |
| 47 | + "getEnsTextQueryKey", |
| 48 | + "getEnsTextQueryOptions", |
| 49 | + "getFeeHistoryQueryKey", |
| 50 | + "getFeeHistoryQueryOptions", |
| 51 | + "getGasPriceQueryKey", |
| 52 | + "getGasPriceQueryOptions", |
| 53 | + "getProofQueryKey", |
| 54 | + "getProofQueryOptions", |
| 55 | + "getStorageAtQueryKey", |
| 56 | + "getStorageAtQueryOptions", |
| 57 | + "getTransactionConfirmationsQueryKey", |
| 58 | + "getTransactionConfirmationsQueryOptions", |
| 59 | + "getTransactionCountQueryKey", |
| 60 | + "getTransactionCountQueryOptions", |
| 61 | + "getTransactionQueryKey", |
| 62 | + "getTransactionQueryOptions", |
| 63 | + "getTransactionReceiptQueryKey", |
| 64 | + "getTransactionReceiptQueryOptions", |
| 65 | + "getWalletClientQueryKey", |
| 66 | + "getWalletClientQueryOptions", |
| 67 | + "hashFn", |
| 68 | + "infiniteReadContractsQueryKey", |
| 69 | + "infiniteReadContractsQueryOptions", |
| 70 | + "prepareTransactionRequestQueryKey", |
| 71 | + "prepareTransactionRequestQueryOptions", |
| 72 | + "readContractQueryKey", |
| 73 | + "readContractQueryOptions", |
| 74 | + "readContractsQueryKey", |
| 75 | + "readContractsQueryOptions", |
| 76 | + "reconnectMutationOptions", |
| 77 | + "sendCallsMutationOptions", |
| 78 | + "sendCallsSyncMutationOptions", |
| 79 | + "sendTransactionMutationOptions", |
| 80 | + "sendTransactionSyncMutationOptions", |
| 81 | + "showCallsStatusMutationOptions", |
| 82 | + "signMessageMutationOptions", |
| 83 | + "signTypedDataMutationOptions", |
| 84 | + "simulateContractQueryKey", |
| 85 | + "simulateContractQueryOptions", |
| 86 | + "structuralSharing", |
| 87 | + "switchAccountMutationOptions", |
| 88 | + "switchChainMutationOptions", |
| 89 | + "switchConnectionMutationOptions", |
| 90 | + "useInfiniteQuery", |
| 91 | + "useMutation", |
| 92 | + "useQuery", |
| 93 | + "verifyMessageQueryKey", |
| 94 | + "verifyMessageQueryOptions", |
| 95 | + "verifyTypedDataQueryKey", |
| 96 | + "verifyTypedDataQueryOptions", |
| 97 | + "waitForCallsStatusQueryKey", |
| 98 | + "waitForCallsStatusQueryOptions", |
| 99 | + "waitForTransactionReceiptQueryKey", |
| 100 | + "waitForTransactionReceiptQueryOptions", |
| 101 | + "watchAssetMutationOptions", |
| 102 | + "writeContractMutationOptions", |
| 103 | + "writeContractSyncMutationOptions", |
| 104 | + ] |
| 105 | + `) |
| 106 | +}) |
0 commit comments