Skip to content

Commit 882214b

Browse files
committed
fix tests
1 parent a43c56a commit 882214b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

solana-programs/tests/tuktuk.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
} from "@solana/spl-token";
3333
const { expect } = chai;
3434

35-
describe("node-manager", () => {
35+
describe("tuktuk", () => {
3636
// Configure the client to use the local cluster.
3737
anchor.setProvider(anchor.AnchorProvider.local("http://127.0.0.1:8899"));
3838

@@ -69,13 +69,14 @@ describe("node-manager", () => {
6969
});
7070

7171
describe("with a task queue", () => {
72-
const name = makeid(10);
72+
let name: string;
7373
let taskQueue: PublicKey;
7474
let transaction: CompiledTransactionArgV0;
7575
let remainingAccounts: AccountMeta[];
7676
const crankReward: anchor.BN = new anchor.BN(1000000000);
7777

7878
beforeEach(async () => {
79+
name = makeid(10);
7980
if (!(await program.account.tuktukConfigV0.fetchNullable(tuktukConfig))) {
8081
await program.methods
8182
.initializeTuktukConfigV0({

0 commit comments

Comments
 (0)