Skip to content

Commit

Permalink
remove mock tests
Browse files Browse the repository at this point in the history
  • Loading branch information
javeoff committed Aug 11, 2024
1 parent da05db2 commit 3cb97ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/tests/buy.test.ts → lib/tests/buy.mocktest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('Test buy', () => {
connection: new Connection(process.env.CONNECTION_URL!),
});
const coinAddress = 'HJAoYbnsf16Z8ftk3SsuShKLQQgzmxAPu41RTpjjpump';
const wallet = getWallet(process.env.SECRET_KEY!);
const wallet = getWallet(process.env.TEST_SECRET_KEY!);

const tx = await api.buy({
wallet,
Expand Down
2 changes: 1 addition & 1 deletion lib/tests/sell.mocktest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('Test sell', () => {
connection: new Connection(process.env.CONNECTION_URL!),
});
const coinAddress = 'HJAoYbnsf16Z8ftk3SsuShKLQQgzmxAPu41RTpjjpump';
const wallet = getWallet(process.env.SECRET_KEY!);
const wallet = getWallet(process.env.TEST_SECRET_KEY!);

const tx = await api.sell({
wallet,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dependencies": {
"@cryptoscan/scanner-sdk": "^1.1.1",
"@cryptoscan/solana-send-transaction": "^0.5.1",
"@cryptoscan/solana-wallet-sdk": "^0.0.1",
"@cryptoscan/solana-wallet-sdk": "latest",
"@cryptoscan/swap-sdk": "^1.6.0",
"@solana/web3.js": "1.93.1",
"ws": "^8.17.1"
Expand Down

0 comments on commit 3cb97ed

Please sign in to comment.