@frontmcp/testing 1.9.4 → 1.9.5
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/README.md +8 -8
- package/esm/package.json +7 -7
- package/package.json +7 -7
- package/ui/ui-assertions.d.ts +3 -3
- package/ui/ui-assertions.d.ts.map +1 -1
- package/ui/ui-matchers.d.ts +3 -3
- package/ui/ui-matchers.d.ts.map +1 -1
package/README.md
CHANGED
|
@@ -95,11 +95,11 @@ Apache-2.0 — see [LICENSE](../../LICENSE).
|
|
|
95
95
|
|
|
96
96
|
<!-- links -->
|
|
97
97
|
|
|
98
|
-
[docs-overview]: https://
|
|
99
|
-
[docs-tools]: https://
|
|
100
|
-
[docs-tool-ui]: https://
|
|
101
|
-
[docs-resources]: https://
|
|
102
|
-
[docs-prompts]: https://
|
|
103
|
-
[docs-auth]: https://
|
|
104
|
-
[docs-transports]: https://
|
|
105
|
-
[docs-mocking]: https://
|
|
98
|
+
[docs-overview]: https://frontmcp.dev/reference/testing
|
|
99
|
+
[docs-tools]: https://frontmcp.dev/reference/testing
|
|
100
|
+
[docs-tool-ui]: https://frontmcp.dev/reference/testing
|
|
101
|
+
[docs-resources]: https://frontmcp.dev/reference/testing
|
|
102
|
+
[docs-prompts]: https://frontmcp.dev/reference/testing
|
|
103
|
+
[docs-auth]: https://frontmcp.dev/reference/testing/auth
|
|
104
|
+
[docs-transports]: https://frontmcp.dev/reference/testing
|
|
105
|
+
[docs-mocking]: https://frontmcp.dev/reference/testing/interceptors#httpmock
|
package/esm/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/testing",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
4
|
"description": "E2E testing framework for FrontMCP servers - MCP client, auth mocks, Playwright integration",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
|
-
"homepage": "https://
|
|
6
|
+
"homepage": "https://frontmcp.dev/reference/testing",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"mcp",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"./esm": null
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"@frontmcp/lazy-zod": "1.9.
|
|
91
|
-
"@frontmcp/sdk": "1.9.
|
|
92
|
-
"@frontmcp/ui": "1.9.
|
|
90
|
+
"@frontmcp/lazy-zod": "1.9.5",
|
|
91
|
+
"@frontmcp/sdk": "1.9.5",
|
|
92
|
+
"@frontmcp/ui": "1.9.5",
|
|
93
93
|
"@jest/globals": "^29.0.0 || ^30.0.0",
|
|
94
94
|
"@playwright/test": "^1.40.0",
|
|
95
95
|
"jest": "^29.0.0 || ^30.0.0"
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
"node": ">=24.0.0"
|
|
113
113
|
},
|
|
114
114
|
"dependencies": {
|
|
115
|
-
"@frontmcp/protocol": "1.9.
|
|
116
|
-
"@frontmcp/utils": "1.9.
|
|
115
|
+
"@frontmcp/protocol": "1.9.5",
|
|
116
|
+
"@frontmcp/utils": "1.9.5",
|
|
117
117
|
"@swc/core": "~1.15.41",
|
|
118
118
|
"@swc/jest": "~0.2.38",
|
|
119
119
|
"jose": "^6.0.11",
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontmcp/testing",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.5",
|
|
4
4
|
"description": "E2E testing framework for FrontMCP servers - MCP client, auth mocks, Playwright integration",
|
|
5
5
|
"author": "AgentFront <info@agentfront.dev>",
|
|
6
|
-
"homepage": "https://
|
|
6
|
+
"homepage": "https://frontmcp.dev/reference/testing",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"mcp",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"./esm": null
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"@frontmcp/lazy-zod": "1.9.
|
|
91
|
-
"@frontmcp/sdk": "1.9.
|
|
92
|
-
"@frontmcp/ui": "1.9.
|
|
90
|
+
"@frontmcp/lazy-zod": "1.9.5",
|
|
91
|
+
"@frontmcp/sdk": "1.9.5",
|
|
92
|
+
"@frontmcp/ui": "1.9.5",
|
|
93
93
|
"@jest/globals": "^29.0.0 || ^30.0.0",
|
|
94
94
|
"@playwright/test": "^1.40.0",
|
|
95
95
|
"jest": "^29.0.0 || ^30.0.0"
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
"node": ">=24.0.0"
|
|
113
113
|
},
|
|
114
114
|
"dependencies": {
|
|
115
|
-
"@frontmcp/protocol": "1.9.
|
|
116
|
-
"@frontmcp/utils": "1.9.
|
|
115
|
+
"@frontmcp/protocol": "1.9.5",
|
|
116
|
+
"@frontmcp/utils": "1.9.5",
|
|
117
117
|
"@swc/core": "~1.15.41",
|
|
118
118
|
"@swc/jest": "~0.2.38",
|
|
119
119
|
"jose": "^6.0.11",
|
package/ui/ui-assertions.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - `ui/mimeType`: MIME type for the HTML content
|
|
9
9
|
* - `ui`: Nested UI object with resourceUri, csp, etc.
|
|
10
10
|
*
|
|
11
|
-
* @see {@link https://
|
|
11
|
+
* @see {@link https://frontmcp.dev/reference/ui | Tool UI Documentation}
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```typescript
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
* UIAssertions.assertDataBinding(html, result.json(), ['location', 'temperature']);
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
-
import type
|
|
24
|
-
import type
|
|
23
|
+
import { type ToolResultWrapper } from '../client/mcp-test-client.types';
|
|
24
|
+
import { type TestPlatformType } from '../platform/platform-types';
|
|
25
25
|
/**
|
|
26
26
|
* UI-specific assertion helpers.
|
|
27
27
|
* Use these for imperative-style assertions with detailed error messages.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-assertions.d.ts","sourceRoot":"","sources":["../../src/ui/ui-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ui-assertions.d.ts","sourceRoot":"","sources":["../../src/ui/ui-assertions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAC;AAqBpC;;;GAGG;AACH,eAAO,MAAM,YAAY;IACvB;;;;;OAKG;6BACsB,iBAAiB,GAAG,MAAM;IA2BnD;;;;;;OAMG;4BACqB,MAAM,UAAU,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,MAAM,EAAE,GAAG,IAAI;IAsBtF;;;;OAIG;wBACiB,MAAM,GAAG,IAAI;IAoBjC;;;;OAIG;oCAC6B,MAAM,GAAG,IAAI;IAe7C;;;;;OAKG;gCACyB,MAAM,OAAO,MAAM,GAAG,IAAI;IAQtD;;;;;OAKG;4BACqB,MAAM,aAAa,MAAM,GAAG,IAAI;IAQxD;;;;;;OAMG;+BACwB,MAAM,WAAW,MAAM,GAAG,IAAI;IASzD;;;;;OAKG;iCAC0B,iBAAiB,GAAG,IAAI;IAiBrD;;;;;;OAMG;0BACmB,iBAAiB,cAAc,MAAM,EAAE,GAAG,MAAM;IA2BtE;;;;;OAKG;6BACsB,iBAAiB,GAAG,IAAI;IAIjD;;;;;OAKG;8BACuB,iBAAiB,GAAG,IAAI;IAIlD;;;;;OAKG;yBACkB,iBAAiB,GAAG,IAAI;IAI7C;;;;;OAKG;+BACwB,iBAAiB,YAAY,gBAAgB,GAAG,IAAI;IAgC/E;;;;;OAKG;oCAC6B,iBAAiB,qBAAqB,MAAM,GAAG,IAAI;IAkBnF;;;;;OAKG;mCAC4B,iBAAiB,YAAY,gBAAgB,GAAG,IAAI;IAoBnF;;;;;;OAMG;+BACwB,iBAAiB,YAAY,gBAAgB,GAAG,MAAM;IAqBjF;;;;;;OAMG;oCAC6B,iBAAiB,YAAY,gBAAgB,GAAG,MAAM;CAUvF,CAAC"}
|
package/ui/ui-matchers.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - `ui/mimeType`: MIME type for the HTML content
|
|
9
9
|
* - `ui`: Nested UI object with resourceUri, csp, etc.
|
|
10
10
|
*
|
|
11
|
-
* @see {@link https://
|
|
11
|
+
* @see {@link https://frontmcp.dev/reference/ui | Tool UI Documentation}
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```typescript
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
|
-
import type
|
|
26
|
-
import type
|
|
25
|
+
import { type MatcherFunction } from 'expect';
|
|
26
|
+
import { type TestPlatformType } from '../platform/platform-types';
|
|
27
27
|
/**
|
|
28
28
|
* All UI matchers as an object for expect.extend()
|
|
29
29
|
*/
|
package/ui/ui-matchers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-matchers.d.ts","sourceRoot":"","sources":["../../src/ui/ui-matchers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ui-matchers.d.ts","sourceRoot":"","sources":["../../src/ui/ui-matchers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAC;AAG9C,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAC;AA8fpC;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAkBtB,CAAC"}
|