bupkis 0.12.2 → 0.13.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/CHANGELOG.md +7 -0
- package/dist/assertion/assertion.cjs +2 -2
- package/dist/assertion/assertion.d.cts +2 -2
- package/dist/assertion/assertion.d.ts +2 -2
- package/dist/assertion/assertion.js +2 -2
- package/dist/assertion/impl/async-parametric.d.cts +16 -16
- package/dist/assertion/impl/async-parametric.d.ts +16 -16
- package/dist/assertion/impl/async.d.cts +32 -32
- package/dist/assertion/impl/async.d.ts +32 -32
- package/dist/assertion/impl/index.cjs +1 -0
- package/dist/assertion/impl/index.cjs.map +1 -1
- package/dist/assertion/impl/index.d.cts +1 -0
- package/dist/assertion/impl/index.d.cts.map +1 -1
- package/dist/assertion/impl/index.d.ts +1 -0
- package/dist/assertion/impl/index.d.ts.map +1 -1
- package/dist/assertion/impl/index.js +1 -0
- package/dist/assertion/impl/index.js.map +1 -1
- package/dist/assertion/impl/snapshot.cjs +276 -0
- package/dist/assertion/impl/snapshot.cjs.map +1 -0
- package/dist/assertion/impl/snapshot.d.cts +278 -0
- package/dist/assertion/impl/snapshot.d.cts.map +1 -0
- package/dist/assertion/impl/snapshot.d.ts +278 -0
- package/dist/assertion/impl/snapshot.d.ts.map +1 -0
- package/dist/assertion/impl/snapshot.js +273 -0
- package/dist/assertion/impl/snapshot.js.map +1 -0
- package/dist/assertion/impl/sync-collection.d.cts +8 -8
- package/dist/assertion/impl/sync-collection.d.ts +8 -8
- package/dist/assertion/impl/sync-date.d.cts +13 -13
- package/dist/assertion/impl/sync-date.d.ts +13 -13
- package/dist/assertion/impl/sync-parametric.d.cts +8 -8
- package/dist/assertion/impl/sync-parametric.d.ts +8 -8
- package/dist/assertion/impl/sync.cjs +13 -1
- package/dist/assertion/impl/sync.cjs.map +1 -1
- package/dist/assertion/impl/sync.d.cts +84 -59
- package/dist/assertion/impl/sync.d.cts.map +1 -1
- package/dist/assertion/impl/sync.d.ts +84 -59
- package/dist/assertion/impl/sync.d.ts.map +1 -1
- package/dist/assertion/impl/sync.js +12 -0
- package/dist/assertion/impl/sync.js.map +1 -1
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +65 -46
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +65 -46
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/schema.cjs +8 -1
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +7 -0
- package/dist/schema.d.cts.map +1 -1
- package/dist/schema.d.ts +7 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +7 -0
- package/dist/schema.js.map +1 -1
- package/dist/snapshot/adapter.cjs +31 -0
- package/dist/snapshot/adapter.cjs.map +1 -0
- package/dist/snapshot/adapter.d.cts +258 -0
- package/dist/snapshot/adapter.d.cts.map +1 -0
- package/dist/snapshot/adapter.d.ts +258 -0
- package/dist/snapshot/adapter.d.ts.map +1 -0
- package/dist/snapshot/adapter.js +27 -0
- package/dist/snapshot/adapter.js.map +1 -0
- package/dist/snapshot/adapters/fallback.cjs +453 -0
- package/dist/snapshot/adapters/fallback.cjs.map +1 -0
- package/dist/snapshot/adapters/fallback.d.cts +185 -0
- package/dist/snapshot/adapters/fallback.d.cts.map +1 -0
- package/dist/snapshot/adapters/fallback.d.ts +185 -0
- package/dist/snapshot/adapters/fallback.d.ts.map +1 -0
- package/dist/snapshot/adapters/fallback.js +446 -0
- package/dist/snapshot/adapters/fallback.js.map +1 -0
- package/dist/snapshot/adapters/node-test.cjs +277 -0
- package/dist/snapshot/adapters/node-test.cjs.map +1 -0
- package/dist/snapshot/adapters/node-test.d.cts +130 -0
- package/dist/snapshot/adapters/node-test.d.cts.map +1 -0
- package/dist/snapshot/adapters/node-test.d.ts +130 -0
- package/dist/snapshot/adapters/node-test.d.ts.map +1 -0
- package/dist/snapshot/adapters/node-test.js +273 -0
- package/dist/snapshot/adapters/node-test.js.map +1 -0
- package/dist/snapshot/index.cjs +55 -0
- package/dist/snapshot/index.cjs.map +1 -0
- package/dist/snapshot/index.d.cts +39 -0
- package/dist/snapshot/index.d.cts.map +1 -0
- package/dist/snapshot/index.d.ts +39 -0
- package/dist/snapshot/index.d.ts.map +1 -0
- package/dist/snapshot/index.js +42 -0
- package/dist/snapshot/index.js.map +1 -0
- package/dist/snapshot/select-adapter.cjs +170 -0
- package/dist/snapshot/select-adapter.cjs.map +1 -0
- package/dist/snapshot/select-adapter.d.cts +128 -0
- package/dist/snapshot/select-adapter.d.cts.map +1 -0
- package/dist/snapshot/select-adapter.d.ts +128 -0
- package/dist/snapshot/select-adapter.d.ts.map +1 -0
- package/dist/snapshot/select-adapter.js +164 -0
- package/dist/snapshot/select-adapter.js.map +1 -0
- package/dist/snapshot/serializer.cjs +246 -0
- package/dist/snapshot/serializer.cjs.map +1 -0
- package/dist/snapshot/serializer.d.cts +126 -0
- package/dist/snapshot/serializer.d.cts.map +1 -0
- package/dist/snapshot/serializer.d.ts +126 -0
- package/dist/snapshot/serializer.d.ts.map +1 -0
- package/dist/snapshot/serializer.js +238 -0
- package/dist/snapshot/serializer.js.map +1 -0
- package/package.json +24 -16
- package/src/assertion/assertion.ts +2 -2
- package/src/assertion/impl/index.ts +1 -0
- package/src/assertion/impl/snapshot.ts +299 -0
- package/src/assertion/impl/sync.ts +13 -0
- package/src/index.ts +16 -0
- package/src/schema.ts +8 -0
- package/src/snapshot/adapter.ts +277 -0
- package/src/snapshot/adapters/fallback.ts +531 -0
- package/src/snapshot/adapters/node-test.ts +336 -0
- package/src/snapshot/index.ts +67 -0
- package/src/snapshot/select-adapter.ts +175 -0
- package/src/snapshot/serializer.ts +314 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.13.0](https://github.com/boneskull/bupkis/compare/bupkis-v0.12.2...bupkis-v0.13.0) (2025-11-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **assertions:** implement snapshot testing ([fc3ebff](https://github.com/boneskull/bupkis/commit/fc3ebff8c03e190fcd293ba0859a38fde2a2343e))
|
|
9
|
+
|
|
3
10
|
## [0.12.2](https://github.com/boneskull/bupkis/compare/bupkis-v0.12.1...bupkis-v0.12.2) (2025-10-31)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -208,8 +208,8 @@ class BupkisAssertion {
|
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* Translates a
|
|
212
|
-
*
|
|
211
|
+
* Translates a `ZodError` into an {@link AssertionError} with a human-friendly
|
|
212
|
+
* message.
|
|
213
213
|
*
|
|
214
214
|
* @remarks
|
|
215
215
|
* This does not handle parameterized assertions with more than one parameter
|
|
@@ -37,8 +37,8 @@ export declare abstract class BupkisAssertion<Parts extends AssertionParts, Impl
|
|
|
37
37
|
*/
|
|
38
38
|
protected fromStandardSchemaIssues<Values>(issues: ReadonlyArray<StandardSchemaV1.Issue>, stackStartFn: (...args: any[]) => any, values: Values): AssertionError;
|
|
39
39
|
/**
|
|
40
|
-
* Translates a
|
|
41
|
-
*
|
|
40
|
+
* Translates a `ZodError` into an {@link AssertionError} with a human-friendly
|
|
41
|
+
* message.
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
44
|
* This does not handle parameterized assertions with more than one parameter
|
|
@@ -37,8 +37,8 @@ export declare abstract class BupkisAssertion<Parts extends AssertionParts, Impl
|
|
|
37
37
|
*/
|
|
38
38
|
protected fromStandardSchemaIssues<Values>(issues: ReadonlyArray<StandardSchemaV1.Issue>, stackStartFn: (...args: any[]) => any, values: Values): AssertionError;
|
|
39
39
|
/**
|
|
40
|
-
* Translates a
|
|
41
|
-
*
|
|
40
|
+
* Translates a `ZodError` into an {@link AssertionError} with a human-friendly
|
|
41
|
+
* message.
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
44
|
* This does not handle parameterized assertions with more than one parameter
|
|
@@ -202,8 +202,8 @@ export class BupkisAssertion {
|
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
|
-
* Translates a
|
|
206
|
-
*
|
|
205
|
+
* Translates a `ZodError` into an {@link AssertionError} with a human-friendly
|
|
206
|
+
* message.
|
|
207
207
|
*
|
|
208
208
|
* @remarks
|
|
209
209
|
* This does not handle parameterized assertions with more than one parameter
|
|
@@ -99,8 +99,8 @@ export declare const promiseRejectAssertion: import("../assertion-types.js").Ass
|
|
|
99
99
|
*/
|
|
100
100
|
export declare const functionRejectWithTypeAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
101
101
|
message: string;
|
|
102
|
-
actual?:
|
|
103
|
-
expected?:
|
|
102
|
+
actual?: undefined;
|
|
103
|
+
expected?: undefined;
|
|
104
104
|
} | {
|
|
105
105
|
actual: string;
|
|
106
106
|
expected: string;
|
|
@@ -128,8 +128,8 @@ export declare const functionRejectWithTypeAssertion: import("../assertion-types
|
|
|
128
128
|
*/
|
|
129
129
|
export declare const promiseRejectWithTypeAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
130
130
|
message: string;
|
|
131
|
-
actual?:
|
|
132
|
-
expected?:
|
|
131
|
+
actual?: undefined;
|
|
132
|
+
expected?: undefined;
|
|
133
133
|
} | {
|
|
134
134
|
actual: string;
|
|
135
135
|
expected: string;
|
|
@@ -163,12 +163,12 @@ export declare const promiseRejectWithTypeAssertion: import("../assertion-types.
|
|
|
163
163
|
*/
|
|
164
164
|
export declare const functionRejectWithErrorSatisfyingAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], z.ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
165
165
|
message: string;
|
|
166
|
-
schema?:
|
|
167
|
-
subject?:
|
|
166
|
+
schema?: undefined;
|
|
167
|
+
subject?: undefined;
|
|
168
168
|
} | {
|
|
169
169
|
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
170
170
|
subject: {} | null;
|
|
171
|
-
message?:
|
|
171
|
+
message?: undefined;
|
|
172
172
|
}>, readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, z.ZodUnknown]>;
|
|
173
173
|
/**
|
|
174
174
|
* Assertion for testing if a Promise rejects with an error satisfying specific
|
|
@@ -198,12 +198,12 @@ export declare const functionRejectWithErrorSatisfyingAssertion: import("../asse
|
|
|
198
198
|
*/
|
|
199
199
|
export declare const promiseRejectWithErrorSatisfyingAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], z.ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
200
200
|
message: string;
|
|
201
|
-
schema?:
|
|
202
|
-
subject?:
|
|
201
|
+
schema?: undefined;
|
|
202
|
+
subject?: undefined;
|
|
203
203
|
} | {
|
|
204
204
|
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
205
205
|
subject: {} | null;
|
|
206
|
-
message?:
|
|
206
|
+
message?: undefined;
|
|
207
207
|
}>, readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, z.ZodUnknown]>;
|
|
208
208
|
/**
|
|
209
209
|
* Assertion for testing if a Promise fulfills with a value satisfying specific
|
|
@@ -233,12 +233,12 @@ export declare const promiseRejectWithErrorSatisfyingAssertion: import("../asser
|
|
|
233
233
|
*/
|
|
234
234
|
export declare const promiseResolveWithValueSatisfyingAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], z.ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
235
235
|
message: string;
|
|
236
|
-
schema?:
|
|
237
|
-
subject?:
|
|
236
|
+
schema?: undefined;
|
|
237
|
+
subject?: undefined;
|
|
238
238
|
} | {
|
|
239
239
|
schema: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
|
|
240
240
|
subject: unknown;
|
|
241
|
-
message?:
|
|
241
|
+
message?: undefined;
|
|
242
242
|
}>, readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, z.ZodUnknown]>;
|
|
243
243
|
/**
|
|
244
244
|
* Assertion for testing if a function returns a Promise that fulfills with a
|
|
@@ -268,11 +268,11 @@ export declare const promiseResolveWithValueSatisfyingAssertion: import("../asse
|
|
|
268
268
|
*/
|
|
269
269
|
export declare const functionFulfillWithValueSatisfyingAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], z.ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
270
270
|
message: string;
|
|
271
|
-
schema?:
|
|
272
|
-
subject?:
|
|
271
|
+
schema?: undefined;
|
|
272
|
+
subject?: undefined;
|
|
273
273
|
} | {
|
|
274
274
|
schema: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
|
|
275
275
|
subject: unknown;
|
|
276
|
-
message?:
|
|
276
|
+
message?: undefined;
|
|
277
277
|
}>, readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, z.ZodUnknown]>;
|
|
278
278
|
//# sourceMappingURL=async-parametric.d.ts.map
|
|
@@ -99,8 +99,8 @@ export declare const promiseRejectAssertion: import("../assertion-types.js").Ass
|
|
|
99
99
|
*/
|
|
100
100
|
export declare const functionRejectWithTypeAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
101
101
|
message: string;
|
|
102
|
-
actual?:
|
|
103
|
-
expected?:
|
|
102
|
+
actual?: undefined;
|
|
103
|
+
expected?: undefined;
|
|
104
104
|
} | {
|
|
105
105
|
actual: string;
|
|
106
106
|
expected: string;
|
|
@@ -128,8 +128,8 @@ export declare const functionRejectWithTypeAssertion: import("../assertion-types
|
|
|
128
128
|
*/
|
|
129
129
|
export declare const promiseRejectWithTypeAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
130
130
|
message: string;
|
|
131
|
-
actual?:
|
|
132
|
-
expected?:
|
|
131
|
+
actual?: undefined;
|
|
132
|
+
expected?: undefined;
|
|
133
133
|
} | {
|
|
134
134
|
actual: string;
|
|
135
135
|
expected: string;
|
|
@@ -163,12 +163,12 @@ export declare const promiseRejectWithTypeAssertion: import("../assertion-types.
|
|
|
163
163
|
*/
|
|
164
164
|
export declare const functionRejectWithErrorSatisfyingAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], z.ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
165
165
|
message: string;
|
|
166
|
-
schema?:
|
|
167
|
-
subject?:
|
|
166
|
+
schema?: undefined;
|
|
167
|
+
subject?: undefined;
|
|
168
168
|
} | {
|
|
169
169
|
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
170
170
|
subject: {} | null;
|
|
171
|
-
message?:
|
|
171
|
+
message?: undefined;
|
|
172
172
|
}>, readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, z.ZodUnknown]>;
|
|
173
173
|
/**
|
|
174
174
|
* Assertion for testing if a Promise rejects with an error satisfying specific
|
|
@@ -198,12 +198,12 @@ export declare const functionRejectWithErrorSatisfyingAssertion: import("../asse
|
|
|
198
198
|
*/
|
|
199
199
|
export declare const promiseRejectWithErrorSatisfyingAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], z.ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
200
200
|
message: string;
|
|
201
|
-
schema?:
|
|
202
|
-
subject?:
|
|
201
|
+
schema?: undefined;
|
|
202
|
+
subject?: undefined;
|
|
203
203
|
} | {
|
|
204
204
|
schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
205
205
|
subject: {} | null;
|
|
206
|
-
message?:
|
|
206
|
+
message?: undefined;
|
|
207
207
|
}>, readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, z.ZodUnknown]>;
|
|
208
208
|
/**
|
|
209
209
|
* Assertion for testing if a Promise fulfills with a value satisfying specific
|
|
@@ -233,12 +233,12 @@ export declare const promiseRejectWithErrorSatisfyingAssertion: import("../asser
|
|
|
233
233
|
*/
|
|
234
234
|
export declare const promiseResolveWithValueSatisfyingAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], z.ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
235
235
|
message: string;
|
|
236
|
-
schema?:
|
|
237
|
-
subject?:
|
|
236
|
+
schema?: undefined;
|
|
237
|
+
subject?: undefined;
|
|
238
238
|
} | {
|
|
239
239
|
schema: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
|
|
240
240
|
subject: unknown;
|
|
241
|
-
message?:
|
|
241
|
+
message?: undefined;
|
|
242
242
|
}>, readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, z.ZodUnknown]>;
|
|
243
243
|
/**
|
|
244
244
|
* Assertion for testing if a function returns a Promise that fulfills with a
|
|
@@ -268,11 +268,11 @@ export declare const promiseResolveWithValueSatisfyingAssertion: import("../asse
|
|
|
268
268
|
*/
|
|
269
269
|
export declare const functionFulfillWithValueSatisfyingAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], z.ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
270
270
|
message: string;
|
|
271
|
-
schema?:
|
|
272
|
-
subject?:
|
|
271
|
+
schema?: undefined;
|
|
272
|
+
subject?: undefined;
|
|
273
273
|
} | {
|
|
274
274
|
schema: z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>;
|
|
275
275
|
subject: unknown;
|
|
276
|
-
message?:
|
|
276
|
+
message?: undefined;
|
|
277
277
|
}>, readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, z.ZodUnknown]>;
|
|
278
278
|
//# sourceMappingURL=async-parametric.d.ts.map
|
|
@@ -21,52 +21,52 @@ export declare const AsyncParametricAssertions: readonly [import("../assertion-t
|
|
|
21
21
|
message: string;
|
|
22
22
|
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
23
23
|
message: string;
|
|
24
|
-
actual?:
|
|
25
|
-
expected?:
|
|
24
|
+
actual?: undefined;
|
|
25
|
+
expected?: undefined;
|
|
26
26
|
} | {
|
|
27
27
|
actual: string;
|
|
28
28
|
expected: string;
|
|
29
29
|
message: string;
|
|
30
30
|
} | undefined>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
31
31
|
message: string;
|
|
32
|
-
actual?:
|
|
33
|
-
expected?:
|
|
32
|
+
actual?: undefined;
|
|
33
|
+
expected?: undefined;
|
|
34
34
|
} | {
|
|
35
35
|
actual: string;
|
|
36
36
|
expected: string;
|
|
37
37
|
message: string;
|
|
38
38
|
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
39
39
|
message: string;
|
|
40
|
-
schema?:
|
|
41
|
-
subject?:
|
|
40
|
+
schema?: undefined;
|
|
41
|
+
subject?: undefined;
|
|
42
42
|
} | {
|
|
43
43
|
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
44
44
|
subject: {} | null;
|
|
45
|
-
message?:
|
|
45
|
+
message?: undefined;
|
|
46
46
|
}>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod/v4").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
47
47
|
message: string;
|
|
48
|
-
schema?:
|
|
49
|
-
subject?:
|
|
48
|
+
schema?: undefined;
|
|
49
|
+
subject?: undefined;
|
|
50
50
|
} | {
|
|
51
51
|
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
52
52
|
subject: {} | null;
|
|
53
|
-
message?:
|
|
53
|
+
message?: undefined;
|
|
54
54
|
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
55
55
|
message: string;
|
|
56
|
-
schema?:
|
|
57
|
-
subject?:
|
|
56
|
+
schema?: undefined;
|
|
57
|
+
subject?: undefined;
|
|
58
58
|
} | {
|
|
59
59
|
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
60
60
|
subject: unknown;
|
|
61
|
-
message?:
|
|
61
|
+
message?: undefined;
|
|
62
62
|
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
63
63
|
message: string;
|
|
64
|
-
schema?:
|
|
65
|
-
subject?:
|
|
64
|
+
schema?: undefined;
|
|
65
|
+
subject?: undefined;
|
|
66
66
|
} | {
|
|
67
67
|
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
68
68
|
subject: unknown;
|
|
69
|
-
message?:
|
|
69
|
+
message?: undefined;
|
|
70
70
|
}>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>];
|
|
71
71
|
/**
|
|
72
72
|
* Tuple of all built-in async assertions (Promise only).
|
|
@@ -83,52 +83,52 @@ export declare const AsyncAssertions: readonly [import("../assertion-types.js").
|
|
|
83
83
|
message: string;
|
|
84
84
|
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
85
85
|
message: string;
|
|
86
|
-
actual?:
|
|
87
|
-
expected?:
|
|
86
|
+
actual?: undefined;
|
|
87
|
+
expected?: undefined;
|
|
88
88
|
} | {
|
|
89
89
|
actual: string;
|
|
90
90
|
expected: string;
|
|
91
91
|
message: string;
|
|
92
92
|
} | undefined>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
93
93
|
message: string;
|
|
94
|
-
actual?:
|
|
95
|
-
expected?:
|
|
94
|
+
actual?: undefined;
|
|
95
|
+
expected?: undefined;
|
|
96
96
|
} | {
|
|
97
97
|
actual: string;
|
|
98
98
|
expected: string;
|
|
99
99
|
message: string;
|
|
100
100
|
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
101
101
|
message: string;
|
|
102
|
-
schema?:
|
|
103
|
-
subject?:
|
|
102
|
+
schema?: undefined;
|
|
103
|
+
subject?: undefined;
|
|
104
104
|
} | {
|
|
105
105
|
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
106
106
|
subject: {} | null;
|
|
107
|
-
message?:
|
|
107
|
+
message?: undefined;
|
|
108
108
|
}>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod/v4").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
109
109
|
message: string;
|
|
110
|
-
schema?:
|
|
111
|
-
subject?:
|
|
110
|
+
schema?: undefined;
|
|
111
|
+
subject?: undefined;
|
|
112
112
|
} | {
|
|
113
113
|
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
114
114
|
subject: {} | null;
|
|
115
|
-
message?:
|
|
115
|
+
message?: undefined;
|
|
116
116
|
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
117
117
|
message: string;
|
|
118
|
-
schema?:
|
|
119
|
-
subject?:
|
|
118
|
+
schema?: undefined;
|
|
119
|
+
subject?: undefined;
|
|
120
120
|
} | {
|
|
121
121
|
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
122
122
|
subject: unknown;
|
|
123
|
-
message?:
|
|
123
|
+
message?: undefined;
|
|
124
124
|
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
125
125
|
message: string;
|
|
126
|
-
schema?:
|
|
127
|
-
subject?:
|
|
126
|
+
schema?: undefined;
|
|
127
|
+
subject?: undefined;
|
|
128
128
|
} | {
|
|
129
129
|
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
130
130
|
subject: unknown;
|
|
131
|
-
message?:
|
|
131
|
+
message?: undefined;
|
|
132
132
|
}>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>];
|
|
133
133
|
export * from "./async-parametric.cjs";
|
|
134
134
|
//# sourceMappingURL=async.d.ts.map
|
|
@@ -21,52 +21,52 @@ export declare const AsyncParametricAssertions: readonly [import("../assertion-t
|
|
|
21
21
|
message: string;
|
|
22
22
|
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
23
23
|
message: string;
|
|
24
|
-
actual?:
|
|
25
|
-
expected?:
|
|
24
|
+
actual?: undefined;
|
|
25
|
+
expected?: undefined;
|
|
26
26
|
} | {
|
|
27
27
|
actual: string;
|
|
28
28
|
expected: string;
|
|
29
29
|
message: string;
|
|
30
30
|
} | undefined>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
31
31
|
message: string;
|
|
32
|
-
actual?:
|
|
33
|
-
expected?:
|
|
32
|
+
actual?: undefined;
|
|
33
|
+
expected?: undefined;
|
|
34
34
|
} | {
|
|
35
35
|
actual: string;
|
|
36
36
|
expected: string;
|
|
37
37
|
message: string;
|
|
38
38
|
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
39
39
|
message: string;
|
|
40
|
-
schema?:
|
|
41
|
-
subject?:
|
|
40
|
+
schema?: undefined;
|
|
41
|
+
subject?: undefined;
|
|
42
42
|
} | {
|
|
43
43
|
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
44
44
|
subject: {} | null;
|
|
45
|
-
message?:
|
|
45
|
+
message?: undefined;
|
|
46
46
|
}>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod/v4").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
47
47
|
message: string;
|
|
48
|
-
schema?:
|
|
49
|
-
subject?:
|
|
48
|
+
schema?: undefined;
|
|
49
|
+
subject?: undefined;
|
|
50
50
|
} | {
|
|
51
51
|
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
52
52
|
subject: {} | null;
|
|
53
|
-
message?:
|
|
53
|
+
message?: undefined;
|
|
54
54
|
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
55
55
|
message: string;
|
|
56
|
-
schema?:
|
|
57
|
-
subject?:
|
|
56
|
+
schema?: undefined;
|
|
57
|
+
subject?: undefined;
|
|
58
58
|
} | {
|
|
59
59
|
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
60
60
|
subject: unknown;
|
|
61
|
-
message?:
|
|
61
|
+
message?: undefined;
|
|
62
62
|
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
63
63
|
message: string;
|
|
64
|
-
schema?:
|
|
65
|
-
subject?:
|
|
64
|
+
schema?: undefined;
|
|
65
|
+
subject?: undefined;
|
|
66
66
|
} | {
|
|
67
67
|
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
68
68
|
subject: unknown;
|
|
69
|
-
message?:
|
|
69
|
+
message?: undefined;
|
|
70
70
|
}>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>];
|
|
71
71
|
/**
|
|
72
72
|
* Tuple of all built-in async assertions (Promise only).
|
|
@@ -83,52 +83,52 @@ export declare const AsyncAssertions: readonly [import("../assertion-types.js").
|
|
|
83
83
|
message: string;
|
|
84
84
|
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
85
85
|
message: string;
|
|
86
|
-
actual?:
|
|
87
|
-
expected?:
|
|
86
|
+
actual?: undefined;
|
|
87
|
+
expected?: undefined;
|
|
88
88
|
} | {
|
|
89
89
|
actual: string;
|
|
90
90
|
expected: string;
|
|
91
91
|
message: string;
|
|
92
92
|
} | undefined>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
93
93
|
message: string;
|
|
94
|
-
actual?:
|
|
95
|
-
expected?:
|
|
94
|
+
actual?: undefined;
|
|
95
|
+
expected?: undefined;
|
|
96
96
|
} | {
|
|
97
97
|
actual: string;
|
|
98
98
|
expected: string;
|
|
99
99
|
message: string;
|
|
100
100
|
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an", "to be rejected with a", "to be rejected with an"]>, import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
101
101
|
message: string;
|
|
102
|
-
schema?:
|
|
103
|
-
subject?:
|
|
102
|
+
schema?: undefined;
|
|
103
|
+
subject?: undefined;
|
|
104
104
|
} | {
|
|
105
105
|
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
106
106
|
subject: {} | null;
|
|
107
|
-
message?:
|
|
107
|
+
message?: undefined;
|
|
108
108
|
}>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying", "to be rejected with error satisfying"], import("zod/v4").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
109
109
|
message: string;
|
|
110
|
-
schema?:
|
|
111
|
-
subject?:
|
|
110
|
+
schema?: undefined;
|
|
111
|
+
subject?: undefined;
|
|
112
112
|
} | {
|
|
113
113
|
schema: import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
114
114
|
subject: {} | null;
|
|
115
|
-
message?:
|
|
115
|
+
message?: undefined;
|
|
116
116
|
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying", "to be rejected with error satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (promise: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
117
117
|
message: string;
|
|
118
|
-
schema?:
|
|
119
|
-
subject?:
|
|
118
|
+
schema?: undefined;
|
|
119
|
+
subject?: undefined;
|
|
120
120
|
} | {
|
|
121
121
|
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
122
122
|
subject: unknown;
|
|
123
|
-
message?:
|
|
123
|
+
message?: undefined;
|
|
124
124
|
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, readonly ["to fulfill with value satisfying", "to resolve with value satisfying"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
125
125
|
message: string;
|
|
126
|
-
schema?:
|
|
127
|
-
subject?:
|
|
126
|
+
schema?: undefined;
|
|
127
|
+
subject?: undefined;
|
|
128
128
|
} | {
|
|
129
129
|
schema: import("zod/v4").ZodType<any, unknown, import("zod/v4/core").$ZodTypeInternals<any, unknown>>;
|
|
130
130
|
subject: unknown;
|
|
131
|
-
message?:
|
|
131
|
+
message?: undefined;
|
|
132
132
|
}>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to fulfill with value satisfying", "to resolve with value satisfying"]>, import("zod/v4").ZodUnknown]>];
|
|
133
133
|
export * from "./async-parametric.js";
|
|
134
134
|
//# sourceMappingURL=async.d.ts.map
|
|
@@ -27,6 +27,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
28
|
__exportStar(require("./async-parametric.cjs"), exports);
|
|
29
29
|
__exportStar(require("./async.cjs"), exports);
|
|
30
|
+
__exportStar(require("./snapshot.cjs"), exports);
|
|
30
31
|
__exportStar(require("./sync-basic.cjs"), exports);
|
|
31
32
|
__exportStar(require("./sync-collection.cjs"), exports);
|
|
32
33
|
__exportStar(require("./sync-date.cjs"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/assertion/impl/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAEH,yDAAsC;AACtC,8CAA2B;AAC3B,mDAAgC;AAChC,wDAAqC;AACrC,kDAA+B;AAC/B,sDAAmC;AACnC,wDAAqC;AACrC,6CAA0B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/assertion/impl/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAEH,yDAAsC;AACtC,8CAA2B;AAC3B,iDAA8B;AAC9B,mDAAgC;AAChC,wDAAqC;AACrC,kDAA+B;AAC/B,sDAAmC;AACnC,wDAAqC;AACrC,6CAA0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,uCAAsC;AACtC,4BAA2B;AAC3B,iCAAgC;AAChC,sCAAqC;AACrC,gCAA+B;AAC/B,oCAAmC;AACnC,sCAAqC;AACrC,2BAA0B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,uCAAsC;AACtC,4BAA2B;AAC3B,+BAA8B;AAC9B,iCAAgC;AAChC,sCAAqC;AACrC,gCAA+B;AAC/B,oCAAmC;AACnC,sCAAqC;AACrC,2BAA0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,sCAAsC;AACtC,2BAA2B;AAC3B,gCAAgC;AAChC,qCAAqC;AACrC,+BAA+B;AAC/B,mCAAmC;AACnC,qCAAqC;AACrC,0BAA0B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,sCAAsC;AACtC,2BAA2B;AAC3B,8BAA8B;AAC9B,gCAAgC;AAChC,qCAAqC;AACrC,+BAA+B;AAC/B,mCAAmC;AACnC,qCAAqC;AACrC,0BAA0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/assertion/impl/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,sCAAsC;AACtC,2BAA2B;AAC3B,gCAAgC;AAChC,qCAAqC;AACrC,+BAA+B;AAC/B,mCAAmC;AACnC,qCAAqC;AACrC,0BAA0B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/assertion/impl/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,sCAAsC;AACtC,2BAA2B;AAC3B,8BAA8B;AAC9B,gCAAgC;AAChC,qCAAqC;AACrC,+BAA+B;AAC/B,mCAAmC;AACnC,qCAAqC;AACrC,0BAA0B"}
|