anchor/examples/dex-crank-relay/tests/dex-crank-relay.js

15 lines
410 B
JavaScript

const anchor = require('@project-serum/anchor');
describe('dex-crank-relay', () => {
// Configure the client to use the local cluster.
anchor.setProvider(anchor.Provider.env());
it('Is initialized!', async () => {
// Add your test here.
const program = anchor.workspace.DexCrankRelay;
const tx = await program.rpc.initialize();
console.log("Your transaction signature", tx);
});
});