Skip to content

Commit 4555aa8

Browse files
committed
Adding in nodenext e2e test
1 parent 67e9e32 commit 4555aa8

File tree

11 files changed

+14817
-10044
lines changed

11 files changed

+14817
-10044
lines changed

.circleci/config.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
steps:
8181
- setup-sdk
8282
- run:
83-
working_directory: sdk/e2e/testnet
83+
working_directory: e2e/testnet
8484
command: |
8585
yarn start
8686
@@ -89,10 +89,19 @@ jobs:
8989
steps:
9090
- setup-sdk
9191
- run:
92-
working_directory: sdk/e2e/mainnet
92+
working_directory: e2e/mainnet
9393
command: |
9494
yarn start
9595
96+
e2e-nodenext:
97+
executor: rust-node
98+
steps:
99+
- setup-sdk
100+
- run:
101+
working_directory: e2e/nodenext
102+
command: |
103+
yarn build
104+
96105
create-leo-app-cli:
97106
executor: rust-node
98107
steps:
File renamed without changes.
File renamed without changes.

e2e/nodenext/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist/

e2e/nodenext/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import { Account, initThreadPool, ProgramManager, AleoKeyProvider, AleoKeyProviderParams } from "@provablehq/sdk";

e2e/nodenext/package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "nodenext",
3+
"dependencies": {
4+
"@provablehq/sdk": "^0.9.0",
5+
"typescript": "^5.8.3"
6+
},
7+
"scripts": {
8+
"build": "tsc"
9+
}
10+
}

e2e/nodenext/tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"compilerOptions": {
3+
"outDir": "./dist",
4+
"module": "nodenext",
5+
"moduleResolution": "nodenext",
6+
"esModuleInterop": true,
7+
}
8+
}
File renamed without changes.
File renamed without changes.

wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@
4848
"rimraf": "^6.0.1",
4949
"rollup": "^4.32.0"
5050
}
51-
}
51+
}

0 commit comments

Comments
 (0)