You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* feat: testing suite integration for openapi spec The testing suite now takes the openapi spec into account. It will check each route defined, make a call to it, and compare the response with the defined schema. Any mismatches will cause the test to fail. * fix(openapi): removed debug stuff from tests * fix(openapi): fixed some tests * fix(openapi): added additional check to tests, test fixes * fix(openapi): better tests, fixed spec errors * fix(openapi): bad conditional in test * fix: oops * fix(openapi): more tests fixing * fix(openapi): more tests * fix(openapi): fix some more tests * fix: verbose'd an info log * fix: topic pagination route returns schema-optimized pagination block * fix(openapi): more test/spec fixes * fix(openapi): accidentally sending in authenticated jar for anon routes * fix(openapi): more test/spec fixes * fix(openapi): more spec fixes * fix: timestampReadable Invalid Date * fix(openapi): more tests... almost there * fix(openapi): more tests fixing * fix(openapi): finally all tests passing * fix(openapi): added reverse test to compare response to spec ... and fixed all the tests that broke * fix: remove tests related to group covers, as route is gone * fix(openapi): broken test on travis * fix(openapi): broken test on travis * fix(openapi): broken test on travis * fix(openapi): object cache is not present for psql * fix: tests Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com> |
6 years ago | |
|---|---|---|
| .. | ||
| database | 6 years ago | |
| files | 7 years ago | |
| helpers | 6 years ago | |
| mocks | 6 years ago | |
| .eslintrc | 9 years ago | |
| api.js | 6 years ago | |
| authentication.js | 7 years ago | |
| batch.js | 7 years ago | |
| blacklist.js | 7 years ago | |
| build.js | 6 years ago | |
| categories.js | 6 years ago | |
| controllers-admin.js | 6 years ago | |
| controllers.js | 6 years ago | |
| coverPhoto.js | 7 years ago | |
| database.js | 7 years ago | |
| defer-logger.js | 7 years ago | |
| emailer.js | 8 years ago | |
| feeds.js | 7 years ago | |
| file.js | 6 years ago | |
| flags.js | 6 years ago | |
| groups.js | 6 years ago | |
| image.js | 9 years ago | |
| locale-detect.js | 7 years ago | |
| messaging.js | 6 years ago | |
| meta.js | 6 years ago | |
| mocha.opts | 7 years ago | |
| notifications.js | 6 years ago | |
| pagination.js | 9 years ago | |
| plugins.js | 6 years ago | |
| posts.js | 6 years ago | |
| pubsub.js | 7 years ago | |
| rewards.js | 6 years ago | |
| search-admin.js | 7 years ago | |
| search.js | 7 years ago | |
| settings.js | 7 years ago | |
| socket.io.js | 6 years ago | |
| template-helpers.js | 7 years ago | |
| topics.js | 6 years ago | |
| translator.js | 6 years ago | |
| uploads.js | 6 years ago | |
| user.js | 6 years ago | |
| utils.js | 6 years ago | |