const anchor = require('@project-serum/anchor'); const fs = require('fs'); describe('basic-0', () => { // Configure the client to use the local cluster. anchor.setProvider(anchor.Provider.local()); it('Uses the workspace to invoke the initialize instruction', async () => { // #region code // Read the deployed program from the workspace. const program = anchor.workspace.Basic0; // Execute the RPC. await program.rpc.initialize(); // #endregion code }); });