You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to add more comprehensive unit test with api methods.
Currently we have 5 routes
/ (return listed routes)
/name (return name of app)
/version (return current version of app)
/categories (return static data)
/signs/12345 (this is fake static data)
Right now we have only one sort of valuable test in generic test/test.js and currently only tests /version. We will want to reorganize the file names to making where it makes more sense.
Note: /categories and /signs/12345 require jwt auth. but we can use proxyquirehttps://github.com/thlorenz/proxyquire to stub auth process so we can bypass this for testing.
The text was updated successfully, but these errors were encountered:
We want to add more comprehensive unit test with api methods.
Currently we have 5 routes
/
(return listed routes)/name
(return name of app)/version
(return current version of app)/categories
(return static data)/signs/12345
(this is fake static data)Right now we have only one sort of valuable test in generic
test/test.js
and currently only tests/version
. We will want to reorganize the file names to making where it makes more sense.Note:
/categories
and/signs/12345
require jwt auth. but we can use proxyquire https://github.com/thlorenz/proxyquire to stub auth process so we can bypass this for testing.The text was updated successfully, but these errors were encountered: