|
@@ -0,0 +1,16 @@
|
|
|
+import * as anchor from '@coral-xyz/anchor';
|
|
|
+import { Program } from '@coral-xyz/anchor';
|
|
|
+import { Poseidon } from '../target/types/poseidon';
|
|
|
+
|
|
|
+describe('poseidon', () => {
|
|
|
+ // Configure the client to use the local cluster.
|
|
|
+ anchor.setProvider(anchor.AnchorProvider.env());
|
|
|
+
|
|
|
+ const program = anchor.workspace.Poseidon as Program<Poseidon>;
|
|
|
+
|
|
|
+ it('Is initialized!', async () => {
|
|
|
+ // Add your test here.
|
|
|
+ const tx = await program.methods.initialize().rpc();
|
|
|
+ console.log('Your transaction signature', tx);
|
|
|
+ });
|
|
|
+});
|