libjs icon indicating copy to clipboard operation
libjs copied to clipboard

Improve Testing for libjs

Open apoorv-2204 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem?

we are missing some integration, unit tests, api tests more like demo tests.

Describe the solution you'd like

Add tests for

  • [ ] transaction_sender.js
  • [ ] api ( some api are remaining)
  • [x] Api test , some test showing different ways to use libjs

Additional context

For testing absinthe socket, we can replace windows socket. more here https://github.com/phoenixframework/phoenix/blob/main/assets/test/socket_test.js

apoorv-2204 avatar Mar 06 '23 12:03 apoorv-2204

https://hexdocs.pm/phoenix/js/index.html#socket

https://github.com/phoenixframework/phoenix/blob/main/assets/test/socket_test.js

apoorv-2204 avatar Mar 06 '23 14:03 apoorv-2204