15 lines
402 B
JavaScript
15 lines
402 B
JavaScript
|
const anchor = require('@project-serum/anchor');
|
||
|
|
||
|
describe('references', () => {
|
||
|
|
||
|
// 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.References;
|
||
|
const tx = await program.rpc.initialize();
|
||
|
console.log("Your transaction signature", tx);
|
||
|
});
|
||
|
});
|