Context
Right now we only use javascript to write the integration-test, it's not so elegant in my opinion. We can re-write the whole tests file to typescript file, build by esbuild and output to /dist file and then run the integration-test.
Reference