hedgedoc/test/public-api
David Mehren cccd52d1b0
Note E2E tests: Set a non-JSON content-type to avoid Nest trying to parse markdown to JSON.
Nest automatically tries to parse incoming requests with application/json as content-type and responds with HTTP 400 if the parsing fails. As our test-note-content is not valid JSON, we need to set another content-type.

Signed-off-by: David Mehren <git@herrmehren.de>
2020-09-22 18:30:22 +02:00
..
notes.e2e-spec.ts Note E2E tests: Set a non-JSON content-type to avoid Nest trying to parse markdown to JSON. 2020-09-22 18:30:22 +02:00