@tramvai/test-helpers 2.40.0 → 2.45.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/parseHtml.d.ts +1 -1
- package/lib/wrapDi.d.ts +2 -2
- package/package.json +3 -3
package/lib/parseHtml.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Options as ParserOptions } from 'node-html-parser';
|
|
2
|
-
export
|
|
2
|
+
export type ParseOptions = Partial<ParserOptions>;
|
|
3
3
|
export declare const parseHtml: (html: string, parserOptions?: ParseOptions) => {
|
|
4
4
|
parsed: import("node-html-parser").HTMLElement;
|
|
5
5
|
body: string;
|
package/lib/wrapDi.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ExtendedModule, ModuleType, commandLineListTokens } from '@tramvai/core';
|
|
2
2
|
import type { Container } from '@tinkoff/dippy';
|
|
3
3
|
import { createMockDi } from '@tramvai/test-mocks';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
type OptionsDi = Parameters<typeof createMockDi>[0];
|
|
5
|
+
type Options = OptionsDi & {
|
|
6
6
|
di?: Container;
|
|
7
7
|
modules?: Array<ModuleType | ExtendedModule>;
|
|
8
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/test-helpers",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.45.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.
|
|
22
|
-
"@tramvai/test-mocks": "2.
|
|
21
|
+
"@tramvai/core": "2.45.0",
|
|
22
|
+
"@tramvai/test-mocks": "2.45.0",
|
|
23
23
|
"@types/express": "^4.17.1",
|
|
24
24
|
"@types/supertest": "^2.0.11",
|
|
25
25
|
"fastify": "^4.6.0",
|