|
4 | 4 | Authorization,
|
5 | 5 | CREDITS_PROGRAM_KEYS,
|
6 | 6 | ExecutionResponse,
|
7 |
| - initThreadPool, |
8 | 7 | ImportedPrograms,
|
9 | 8 | ImportedVerifyingKeys,
|
10 | 9 | OfflineQuery,
|
@@ -37,23 +36,13 @@ import {
|
37 | 36 | } from "./data/proving.js";
|
38 | 37 | import * as process from "node:process";
|
39 | 38 |
|
40 |
| -function sleep(ms: number = 5000) { |
41 |
| - return new Promise(resolve => setTimeout(resolve, ms)); |
42 |
| -} |
43 |
| - |
44 | 39 | describe('Program Manager', async () => {
|
45 | 40 | const keyProvider = new AleoKeyProvider();
|
46 | 41 | keyProvider.useCache(true);
|
47 | 42 | const programManager = new ProgramManager("https://api.explorer.provable.com/v1", keyProvider);
|
48 | 43 | programManager.setAccount(new Account({privateKey: statePathv0RecordOwnerPrivateKey}));
|
49 | 44 | const network = programManager.networkClient.network;
|
50 | 45 |
|
51 |
| - if (network === "testnet") { |
52 |
| - await initThreadPool(); |
53 |
| - console.log("Initializing threadpool..."); |
54 |
| - await sleep(5000); |
55 |
| - } |
56 |
| - |
57 | 46 | describe('Instantiate with AleoNetworkClientOptions', () => {
|
58 | 47 | it('should have the specified headers when instantiated', async () => {
|
59 | 48 | const newProgramManager = new ProgramManager("https://api.explorer.provable.com/v1", undefined, undefined, { headers: {'X-Test-Header': 'programManager'} });
|
@@ -129,7 +118,7 @@ describe('Program Manager', async () => {
|
129 | 118 | });
|
130 | 119 |
|
131 | 120 | describe('ProgramManager Executions', () => {
|
132 |
| - it('Should create a split transaction without fees', async function () { |
| 121 | + it.skip('Should create a split transaction without fees', async function () { |
133 | 122 | this.retries(3);
|
134 | 123 |
|
135 | 124 | if (network === "testnet") {
|
|
0 commit comments