Skip to content

Commit

Permalink
Adds preliminary configuration of the integration-test-suite folder
Browse files Browse the repository at this point in the history
  • Loading branch information
raugfer committed Sep 5, 2024
1 parent b461d00 commit db4825c
Show file tree
Hide file tree
Showing 12 changed files with 4,231 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules/
/dist/

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"scripts": {
"build": "tsc",
"test": "node dist/index.js"
},
"dependencies": {
"garaga_rs": "file:../../../garaga_rs/garaga_rs-0.1.0.tgz"
},
"devDependencies": {
"typescript": "^5.5.4"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import garaga_rs from 'garaga_rs';

async function main(): Promise<void> {
await garaga_rs.init();
const result = garaga_rs.msm_calldata_builder([1, 2], [10], 0);
console.log('Output of msm_calldata_builder:', result);
}

main()
.catch(console.error);
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"target": "es2020",
"module": "commonjs",
"rootDir": "./src/",
"outDir": "./dist/",
"esModuleInterop": true,
"strict": true
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules/
/dist/
Loading

0 comments on commit db4825c

Please sign in to comment.