Hannah Wolfe
0695f74a65
Fixed some type issues with the api framework
...
- fixes a bunch of red squiggly lines due to type issues
- this in turn makes it slightly easier to read the API pipeline code
2022-08-23 14:49:29 +01:00
Daniel Lockyer
8247242610
Added tests to HTTP module of api-framework
...
- this file was mostly just missing tests for the other content
disposition types, which are easily added
- bumps coverage of this file to 100%
2022-08-12 10:16:01 +02:00
Daniel Lockyer
348924d431
Updated API framework debug and test names
...
- these tests have moved from `core/` so the names are no longer
relevant
2022-08-11 17:44:59 +02:00
Daniel Lockyer
687e68d5de
Extracted shared API framework to separate package
...
refs https://github.com/TryGhost/Toolbox/issues/363
- this API framework is standalone and should be pulled out into a
separate package so we can define its boundaries more clearly, and
promote better testing of smaller parts
2022-08-11 17:44:59 +02:00