Skip to content

Commit

Permalink
update deposit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Vanderwaal committed Jan 26, 2024
1 parent 92a62f7 commit 7b195c6
Show file tree
Hide file tree
Showing 7 changed files with 543 additions and 263 deletions.
2 changes: 1 addition & 1 deletion tests/mmm-admin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('mmm-admin', () => {
const wallet = new anchor.Wallet(Keypair.generate());
const provider = new anchor.AnchorProvider(connection, wallet, {
commitment: 'processed',
});
});
const program = new anchor.Program(
IDL,
MMMProgramID,
Expand Down
4 changes: 0 additions & 4 deletions tests/mmm-any-allowlist.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as anchor from '@project-serum/anchor';
import {
getAssociatedTokenAddress,
getAccount as getTokenAccount,
ASSOCIATED_TOKEN_PROGRAM_ID,
TOKEN_PROGRAM_ID,
TOKEN_2022_PROGRAM_ID,
Expand All @@ -26,14 +25,11 @@ import {
} from '../sdk/src';
import {
airdrop,
createPoolWithExampleDeposits,
createPoolWithExampleDepositsUmi,
getEmptyAllowLists,
getMetaplexInstance,
sendAndAssertTx,
} from './utils';
import { toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters';
import { token } from '@metaplex-foundation/js';

describe('mmm-any-allowlist', () => {
const TOKEN_PROGRAM_IDS = [TOKEN_PROGRAM_ID, TOKEN_2022_PROGRAM_ID];
Expand Down
2 changes: 1 addition & 1 deletion tests/mmm-creator-royalty.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('mmm-creator-royalty', () => {
});

TOKEN_PROGRAM_IDS.forEach((tokenProgramId) => {
describe.only(`Token program: ${tokenProgramId}`, () => {
describe(`Token program: ${tokenProgramId}`, () => {
it('correctly pays creator royalty', async () => {
const seller = Keypair.generate();
const buyer = Keypair.generate();
Expand Down
Loading

0 comments on commit 7b195c6

Please sign in to comment.