Skip to content

Commit

Permalink
Move twitter action tests to cdp-agentkit-core
Browse files Browse the repository at this point in the history
  • Loading branch information
derek-cb committed Dec 6, 2024
1 parent 2f78c81 commit 24d192b
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { accountDetails, AccountDetailsInput } from "../actions/account_details";
import { accountDetails, AccountDetailsInput } from "../actions/cdp/social/twitter/account_details";
import { TwitterApi, TwitterApiv2 } from "twitter-api-v2";

const MOCK_ID = "1853889445319331840";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { accountMentions, AccountMentionsInput } from "../actions/account_mentions";
import {
accountMentions,
AccountMentionsInput,
} from "../actions/cdp/social/twitter/account_mentions";
import { TwitterApi, TwitterApiv2 } from "twitter-api-v2";

const MOCK_ACCOUNT_ID = "1857479287504584856";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { postTweet, PostTweetReplyInput } from "../actions/post_tweet_reply";
import { postTweet, PostTweetReplyInput } from "../actions/cdp/social/twitter/post_tweet_reply";
import { TwitterApi, TwitterApiv2 } from "twitter-api-v2";

const MOCK_TWEET_ID = "0123456789012345678";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { postTweet, PostTweetInput } from "../actions/post_tweet";
import { postTweet, PostTweetInput } from "../actions/cdp/social/twitter/post_tweet";
import { TwitterApi, TwitterApiv2 } from "twitter-api-v2";

const MOCK_TWEET = "@CDPAgentkit please reply!";
Expand Down
1 change: 1 addition & 0 deletions cdp-langchain/examples/chatbot/wallet_data.txt.mainnet.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"walletId":"3ffeb5c8-5867-4d3a-9dfc-6638c983745c","seed":"f38482c904becf85ecb3a2b8ed31f3643852bbe367f52ca846f24fbe3d37e8ad","defaultAddressId":"0xBE345D76092Ff450e056390aec917A122cE7f7a4"}
1 change: 1 addition & 0 deletions cdp-langchain/examples/chatbot/wallet_data.txt.testnet.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"walletId":"fd811d4c-b8bf-4284-a984-c4698589d868","seed":"ec7aded9ea29aed26fc8314e0110903375ada666aa5bf6e6d84bf88a37e0ae64","defaultAddressId":"0x252A265cae1149b7FDf92754D1D3B2bE21466878"}
3 changes: 2 additions & 1 deletion twitter-langchain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"outDir": "./dist",
"rootDir": "./src"
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
"exclude": ["src/tests"]
}

0 comments on commit 24d192b

Please sign in to comment.