-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
adpthegreat
committed
Nov 28, 2024
1 parent
8a787b1
commit f2b20c3
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
tokens/create-token/poseidon/create_tokens/tests/create_tokens.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import * as anchor from "@coral-xyz/anchor"; | ||
import { Program } from "@coral-xyz/anchor"; | ||
import { CreateTokens } from "../target/types/create_tokens"; | ||
import * as anchor from '@coral-xyz/anchor'; | ||
import { Program } from '@coral-xyz/anchor'; | ||
import { CreateTokens } from '../target/types/create_tokens'; | ||
|
||
describe("create_tokens", () => { | ||
describe('create_tokens', () => { | ||
// Configure the client to use the local cluster. | ||
anchor.setProvider(anchor.AnchorProvider.env()); | ||
|
||
const program = anchor.workspace.CreateTokens as Program<CreateTokens>; | ||
|
||
it("Is initialized!", async () => { | ||
it('Is initialized!', async () => { | ||
// Add your test here. | ||
const tx = await program.methods.initialize().rpc(); | ||
console.log("Your transaction signature", tx); | ||
console.log('Your transaction signature', tx); | ||
}); | ||
}); |