Skip to content

Commit 9b66aaf

Browse files
committed
fix biome
1 parent 2036385 commit 9b66aaf

File tree

136 files changed

+1264
-2119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+1264
-2119
lines changed

basics/account-data/anchor/tests/bankrun.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { describe, it } from 'node:test';
22
import * as anchor from '@coral-xyz/anchor';
3-
import { Keypair } from '@solana/web3.js';
4-
import { PublicKey } from '@solana/web3.js';
3+
import { Keypair, PublicKey } from '@solana/web3.js';
54
import { BankrunProvider } from 'anchor-bankrun';
65
import { startAnchor } from 'solana-bankrun';
76
import type { AnchorProgramExample } from '../target/types/anchor_program_example';

basics/checking-accounts/anchor/tests/bankrun.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { describe, it } from 'node:test';
22
import * as anchor from '@coral-xyz/anchor';
3-
import { Keypair, SystemProgram, Transaction, sendAndConfirmTransaction } from '@solana/web3.js';
4-
import { PublicKey } from '@solana/web3.js';
3+
import { Keypair, PublicKey, SystemProgram, Transaction } from '@solana/web3.js';
54
import { BankrunProvider } from 'anchor-bankrun';
65
import { startAnchor } from 'solana-bankrun';
76
import type { AnchorProgramExample } from '../target/types/anchor_program_example';

basics/checking-accounts/anchor/tests/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as anchor from '@coral-xyz/anchor';
2-
import { Keypair, SystemProgram, Transaction, sendAndConfirmTransaction } from '@solana/web3.js';
2+
import { Keypair, SystemProgram, sendAndConfirmTransaction, Transaction } from '@solana/web3.js';
33
import type { AnchorProgramExample } from '../target/types/anchor_program_example';
44

55
describe('Anchor example', () => {

basics/close-account/anchor/tests/close-account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import assert from 'node:assert';
2-
import * as anchor from '@coral-xyz/anchor';
32
import type { Program } from '@coral-xyz/anchor';
3+
import * as anchor from '@coral-xyz/anchor';
44
import { PublicKey } from '@solana/web3.js';
55
import type { CloseAccountProgram } from '../target/types/close_account_program';
66

basics/close-account/native/ts/instructions/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export * from './create';
21
export * from './close';
2+
export * from './create';
33

44
export enum MyInstruction {
55
CreateUser = 0,

basics/counter/anchor/tests/bankrun.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { describe, it } from 'node:test';
22
import * as anchor from '@coral-xyz/anchor';
3-
import type { Program } from '@coral-xyz/anchor';
4-
import { Keypair } from '@solana/web3.js';
5-
import { PublicKey } from '@solana/web3.js';
3+
import { Keypair, PublicKey } from '@solana/web3.js';
64
import { BankrunProvider } from 'anchor-bankrun';
75
import { assert } from 'chai';
86
import { startAnchor } from 'solana-bankrun';

basics/counter/anchor/tests/counter_anchor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as anchor from '@coral-xyz/anchor';
21
import type { Program } from '@coral-xyz/anchor';
2+
import * as anchor from '@coral-xyz/anchor';
33
import { Keypair } from '@solana/web3.js';
44
import { assert } from 'chai';
55
import type { CounterAnchor } from '../target/types/counter_anchor';

basics/counter/mpl-stack/tests/counter.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import {
44
Keypair,
55
LAMPORTS_PER_SOL,
66
SystemProgram,
7+
sendAndConfirmTransaction,
78
Transaction,
89
type TransactionInstruction,
9-
sendAndConfirmTransaction,
1010
} from '@solana/web3.js';
1111
import { BN } from 'bn.js';
1212
import { assert } from 'chai';
1313

14-
import { Counter, PROGRAM_ID, createIncrementInstruction } from '../ts';
14+
import { Counter, createIncrementInstruction, PROGRAM_ID } from '../ts';
1515

1616
function convertBignumToNumber(bignum: bignum): number {
1717
return new BN(bignum).toNumber();

basics/counter/mpl-stack/ts/generated/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { PublicKey } from '@solana/web3.js';
2+
23
export * from './accounts';
34
export * from './instructions';
45

basics/counter/native/tests/counter.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { describe, test } from 'node:test';
2-
import { Keypair, PublicKey, SystemProgram, Transaction, type TransactionInstruction } from '@solana/web3.js';
2+
import { Keypair, SystemProgram, Transaction, type TransactionInstruction } from '@solana/web3.js';
33
import { assert } from 'chai';
44
import { start } from 'solana-bankrun';
5-
import { COUNTER_ACCOUNT_SIZE, PROGRAM_ID, createIncrementInstruction, deserializeCounterAccount } from '../ts';
5+
import { COUNTER_ACCOUNT_SIZE, createIncrementInstruction, deserializeCounterAccount, PROGRAM_ID } from '../ts';
66

77
describe('Counter Solana Native', async () => {
88
// Randomly generate the program keypair and load the program to solana-bankrun

0 commit comments

Comments
 (0)