Skip to content

Commit 80c6c3a

Browse files
committed
fix ts strip only error
1 parent ef44763 commit 80c6c3a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ members = [
3131
"basics/repository-layout/anchor/programs/*",
3232
"basics/transfer-sol/native/program",
3333
"basics/transfer-sol/anchor/programs/*",
34+
35+
# tokens
3436
"tokens/token-2022/mint-close-authority/native/program",
3537
"tokens/token-2022/non-transferable/native/program",
3638
"tokens/token-2022/default-account-state/native/program",

basics/pda-rent-payer/native/tests/test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ describe('PDA Rent-Payer', async () => {
1818
}
1919
}
2020

21-
enum MyInstruction {
22-
InitRentVault = 0,
23-
CreateNewAccount = 1,
24-
}
21+
const MyInstruction = {
22+
InitRentVault: 0,
23+
CreateNewAccount: 1,
24+
} as const;
2525

2626
class InitRentVault extends Assignable {
2727
toBuffer() {

0 commit comments

Comments
 (0)