my new company have started doing TDD on the new javascript webstuff.
I have written a javascript method:
I can't
test it calls the service, as that is an integration test (fully understand)
so what can I actually test?
my mentor wants me to test the parameters are passed in correctly, but these are just constructed in the test.