@tramvai/test-helpers 2.61.2 → 2.64.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/lib/index.es.js CHANGED
@@ -4,7 +4,9 @@ import supertest from 'supertest';
4
4
  import { walkOfModules, getModuleParameters } from '@tramvai/core';
5
5
  import { createMockDi } from '@tramvai/test-mocks';
6
6
 
7
- const parseHtml = (html, parserOptions = { blockTextElements: { script: false, style: false } }) => {
7
+ const parseHtml = (html, parserOptions = {
8
+ blockTextElements: { script: false, style: false },
9
+ }) => {
8
10
  var _a, _b, _c;
9
11
  if (!html) {
10
12
  return null;
package/lib/index.js CHANGED
@@ -13,7 +13,9 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
13
13
  var prettier__default = /*#__PURE__*/_interopDefaultLegacy(prettier);
14
14
  var supertest__default = /*#__PURE__*/_interopDefaultLegacy(supertest);
15
15
 
16
- const parseHtml = (html, parserOptions = { blockTextElements: { script: false, style: false } }) => {
16
+ const parseHtml = (html, parserOptions = {
17
+ blockTextElements: { script: false, style: false },
18
+ }) => {
17
19
  var _a, _b, _c;
18
20
  if (!html) {
19
21
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/test-helpers",
3
- "version": "2.61.2",
3
+ "version": "2.64.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "build-for-publish": "true"
19
19
  },
20
20
  "dependencies": {
21
- "@tramvai/core": "2.61.2",
22
- "@tramvai/test-mocks": "2.61.2",
21
+ "@tramvai/core": "2.64.0",
22
+ "@tramvai/test-mocks": "2.64.0",
23
23
  "@types/express": "^4.17.1",
24
24
  "@types/supertest": "^2.0.11",
25
25
  "fastify": "^4.6.0",