@slates/test 1.0.0-rc.20 → 1.0.0-rc.22
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/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +4 -4
- package/src/index.test.ts +9 -6
package/dist/index.d.cts
CHANGED
|
@@ -281,6 +281,7 @@ declare let getSlateContract: (client: SlatesTestClient) => Promise<{
|
|
|
281
281
|
title: string;
|
|
282
282
|
description?: string | undefined;
|
|
283
283
|
}[] | undefined;
|
|
284
|
+
adapters?: string[] | undefined;
|
|
284
285
|
}[];
|
|
285
286
|
configSchema: Record<string, any>;
|
|
286
287
|
}>;
|
|
@@ -470,6 +471,7 @@ declare let expectSlateContract: (d: {
|
|
|
470
471
|
title: string;
|
|
471
472
|
description?: string | undefined;
|
|
472
473
|
}[] | undefined;
|
|
474
|
+
adapters?: string[] | undefined;
|
|
473
475
|
}[];
|
|
474
476
|
configSchema: Record<string, any>;
|
|
475
477
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -281,6 +281,7 @@ declare let getSlateContract: (client: SlatesTestClient) => Promise<{
|
|
|
281
281
|
title: string;
|
|
282
282
|
description?: string | undefined;
|
|
283
283
|
}[] | undefined;
|
|
284
|
+
adapters?: string[] | undefined;
|
|
284
285
|
}[];
|
|
285
286
|
configSchema: Record<string, any>;
|
|
286
287
|
}>;
|
|
@@ -470,6 +471,7 @@ declare let expectSlateContract: (d: {
|
|
|
470
471
|
title: string;
|
|
471
472
|
description?: string | undefined;
|
|
472
473
|
}[] | undefined;
|
|
474
|
+
adapters?: string[] | undefined;
|
|
473
475
|
}[];
|
|
474
476
|
configSchema: Record<string, any>;
|
|
475
477
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slates/test",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.22",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@lowerdeck/testing-tools": "latest",
|
|
43
|
-
"@slates/client": "1.0.0-rc.
|
|
44
|
-
"@slates/profiles": "1.0.0-rc.
|
|
43
|
+
"@slates/client": "1.0.0-rc.25",
|
|
44
|
+
"@slates/profiles": "1.0.0-rc.23"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@slates/provider": "1.0.0-rc.
|
|
47
|
+
"@slates/provider": "1.0.0-rc.25",
|
|
48
48
|
"@slates/tsconfig": "1.0.0-rc.1",
|
|
49
49
|
"typescript": "5.8.2",
|
|
50
50
|
"vitest": "^3.1.2",
|
package/src/index.test.ts
CHANGED
|
@@ -217,13 +217,16 @@ let createDemoSlate = () => {
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
],
|
|
220
|
-
response: new Response(
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
220
|
+
response: new Response(
|
|
221
|
+
ctx.input.webhookRegistrationPayload?.channelId ?? 'missing',
|
|
222
|
+
{
|
|
223
|
+
status: 201,
|
|
224
|
+
headers: {
|
|
225
|
+
'content-type': 'text/plain',
|
|
226
|
+
'x-demo-response': 'accepted'
|
|
227
|
+
}
|
|
225
228
|
}
|
|
226
|
-
|
|
229
|
+
)
|
|
227
230
|
};
|
|
228
231
|
}
|
|
229
232
|
})
|