diff --git a/utils/testsuite_helper/README.md b/utils/testsuite_helper/README.md new file mode 100644 index 0000000..1fdd99f --- /dev/null +++ b/utils/testsuite_helper/README.md @@ -0,0 +1,25 @@ +# testsuite_helper + +This module is primarily used to expose `JSON.parse` through a CLI environment for testing purpose. + +### Return codes :- +- 0 - If successfully parsed the input +- 2 - Can't read the file properly + +(It needs `wasmtime` to execute) + +## Build +``` +yarn +yarn build +``` + +## Run +``` +yarn start --dir FOLDER JSON_FILE_NAME +``` +or +``` +wasmtime build/index.wasm --dir FOLDER JSON_FILE_NAME +``` +