@athenna/http 5.35.0 → 5.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/http",
3
- "version": "5.35.0",
3
+ "version": "5.36.0",
4
4
  "description": "The Athenna Http server. Built on top of fastify.",
5
5
  "license": "MIT",
6
6
  "author": "João Lenon <lenon@athenna.io>",
@@ -158,7 +158,7 @@ export class TestResponse extends Macroable {
158
158
  seenKeys.add(key);
159
159
  }
160
160
  }
161
- this.assert.assert(seenKeys.size, `The body contains keys: ${keys.join(', ')}`);
161
+ this.assert.assert(!seenKeys.size, `The body contains keys: ${Array.from(seenKeys).join(', ')}`);
162
162
  }
163
163
  /**
164
164
  * Assert body (array or object) to be deep equal to the expected value.