And according to document on the test file. import AddItemRpc from "./rpc-add-item"
and export the rpc export default AddItemRpc;
When i try export there is issue occors like:
Cannot compile modules using option 'outFile' unless the '--module' flag is 'amd' or 'system'.ts(6131)
So, I’m not able to setup. If anyone faced that type of issue please suggest me the solution or anyone did the unit testing please guide me the how i setup the testing environment.
Sir, I’m modifying an existing project and i want to setup the test environment. Mainly I to know how i can
Import or export the RPC function.
I have above tsConfig file and i not able to export the RPC function