This PR includes unit tests for khalti_http_client.dart file, package_util.dart file and khalti.dart file that reside in the khalti package. The test coverage for each test is 100%.
I also had to make some changes to the source code to make it easily testable.
This PR is in response to the issue #4.
This PR includes unit tests for
khalti_http_client.dart
file,package_util.dart
file andkhalti.dart
file that reside in thekhalti
package. The test coverage for each test is 100%. I also had to make some changes to the source code to make it easily testable. This PR is in response to the issue #4.