bupkis 0.12.1 → 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 +14 -0
- package/README.md +12 -5
- package/dist/assertion/assertion-types.d.cts +26 -3
- package/dist/assertion/assertion-types.d.cts.map +1 -1
- package/dist/assertion/assertion-types.d.ts +26 -3
- package/dist/assertion/assertion-types.d.ts.map +1 -1
- 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.cjs +20 -6
- package/dist/assertion/impl/async-parametric.cjs.map +1 -1
- package/dist/assertion/impl/async-parametric.d.cts +28 -28
- package/dist/assertion/impl/async-parametric.d.cts.map +1 -1
- package/dist/assertion/impl/async-parametric.d.ts +28 -28
- package/dist/assertion/impl/async-parametric.d.ts.map +1 -1
- package/dist/assertion/impl/async-parametric.js +20 -6
- package/dist/assertion/impl/async-parametric.js.map +1 -1
- package/dist/assertion/impl/async.d.cts +46 -46
- package/dist/assertion/impl/async.d.ts +46 -46
- 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/bootstrap.cjs +2 -5
- package/dist/bootstrap.cjs.map +1 -1
- package/dist/bootstrap.d.cts +3 -275
- package/dist/bootstrap.d.cts.map +1 -1
- package/dist/bootstrap.d.ts +3 -275
- package/dist/bootstrap.d.ts.map +1 -1
- package/dist/bootstrap.js +2 -4
- package/dist/bootstrap.js.map +1 -1
- package/dist/constant.cjs +0 -8
- package/dist/constant.cjs.map +1 -1
- package/dist/constant.d.cts +17 -0
- package/dist/constant.d.cts.map +1 -1
- package/dist/constant.d.ts +17 -0
- package/dist/constant.d.ts.map +1 -1
- package/dist/constant.js +0 -8
- package/dist/constant.js.map +1 -1
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +72 -53
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +72 -53
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/metadata.cjs +0 -1
- package/dist/metadata.cjs.map +1 -1
- package/dist/metadata.d.cts +1 -1
- package/dist/metadata.d.cts.map +1 -1
- package/dist/metadata.d.ts +1 -1
- package/dist/metadata.d.ts.map +1 -1
- package/dist/metadata.js +0 -1
- package/dist/metadata.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 +32 -23
- package/src/assertion/assertion-types.ts +8 -15
- package/src/assertion/assertion.ts +2 -2
- package/src/assertion/impl/async-parametric.ts +20 -6
- 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/bootstrap.ts +16 -19
- package/src/constant.ts +0 -8
- package/src/index.ts +16 -0
- package/src/metadata.ts +0 -1
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async-parametric.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/async-parametric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,QAAQ,CAAC;AAmBhC;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB;;iSAWpC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB;;mLAWnC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;;
|
|
1
|
+
{"version":3,"file":"async-parametric.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/async-parametric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,QAAQ,CAAC;AAmBhC;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB;;iSAWpC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB;;mLAWnC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;;oSAUnC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB;;sLAUlC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;0bAkC3C,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;4UAkC1C,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,0CAA0C;;;;;;;;kVAoCtD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,yCAAyC;;;;;;;;oOAmCrD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,0CAA0C;;;;;;;;iOAyBtD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,2CAA2C;;;;;;;;+UAwBvD,CAAC"}
|
|
@@ -59,9 +59,9 @@ export declare const promiseResolveAssertion: import("../assertion-types.js").As
|
|
|
59
59
|
*
|
|
60
60
|
* @group Parametric Assertions (Async)
|
|
61
61
|
*/
|
|
62
|
-
export declare const functionRejectAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, "to reject"], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
62
|
+
export declare const functionRejectAssertion: 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", "to be rejected"]], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
63
63
|
message: string;
|
|
64
|
-
} | undefined>, readonly [z.ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").
|
|
64
|
+
} | undefined>, 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", "to be rejected"]>]>;
|
|
65
65
|
/**
|
|
66
66
|
* Assertion for testing if a Promise is rejected.
|
|
67
67
|
*
|
|
@@ -74,9 +74,9 @@ export declare const functionRejectAssertion: import("../assertion-types.js").As
|
|
|
74
74
|
*
|
|
75
75
|
* @group Parametric Assertions (Async)
|
|
76
76
|
*/
|
|
77
|
-
export declare const promiseRejectAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, "to reject"], (subject: PromiseLike<unknown>) => Promise<{
|
|
77
|
+
export declare const promiseRejectAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject", "to be rejected"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
78
78
|
message: string;
|
|
79
|
-
} | undefined>, readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").
|
|
79
|
+
} | undefined>, readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject", "to be rejected"]>]>;
|
|
80
80
|
/**
|
|
81
81
|
* Assertion for testing if a function rejects with a specific error type.
|
|
82
82
|
*
|
|
@@ -97,15 +97,15 @@ export declare const promiseRejectAssertion: import("../assertion-types.js").Ass
|
|
|
97
97
|
*
|
|
98
98
|
* @group Parametric Assertions (Async)
|
|
99
99
|
*/
|
|
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"], z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, ctor: import("../../types.js").Constructor) => Promise<{
|
|
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;
|
|
107
107
|
message: string;
|
|
108
|
-
} | undefined>, 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 a", "to reject with an"]>, z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>;
|
|
108
|
+
} | undefined>, 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 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>]>;
|
|
109
109
|
/**
|
|
110
110
|
* Assertion for testing if a Promise rejects with a specific error type.
|
|
111
111
|
*
|
|
@@ -126,15 +126,15 @@ export declare const functionRejectWithTypeAssertion: import("../assertion-types
|
|
|
126
126
|
*
|
|
127
127
|
* @group Parametric Assertions (Async)
|
|
128
128
|
*/
|
|
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"], z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
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;
|
|
136
136
|
message: string;
|
|
137
|
-
} | undefined>, readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject with an"]>, z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>;
|
|
137
|
+
} | undefined>, readonly [z.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"]>, z.ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>]>;
|
|
138
138
|
/**
|
|
139
139
|
* Assertion for testing if a function rejects with an error satisfying specific
|
|
140
140
|
* criteria.
|
|
@@ -161,15 +161,15 @@ export declare const promiseRejectWithTypeAssertion: import("../assertion-types.
|
|
|
161
161
|
*
|
|
162
162
|
* @group Parametric Assertions (Async)
|
|
163
163
|
*/
|
|
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"], z.ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
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?:
|
|
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"]>, z.ZodUnknown]>;
|
|
171
|
+
message?: undefined;
|
|
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
|
|
175
175
|
* criteria.
|
|
@@ -196,15 +196,15 @@ export declare const functionRejectWithErrorSatisfyingAssertion: import("../asse
|
|
|
196
196
|
*
|
|
197
197
|
* @group Parametric Assertions (Async)
|
|
198
198
|
*/
|
|
199
|
-
export declare const promiseRejectWithErrorSatisfyingAssertion: import("../assertion-types.js").AssertionFunctionAsync<readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying"], z.ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
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?:
|
|
207
|
-
}>, readonly [z.ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with error satisfying"]>, z.ZodUnknown]>;
|
|
206
|
+
message?: undefined;
|
|
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
|
|
210
210
|
* criteria.
|
|
@@ -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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async-parametric.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/async-parametric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,QAAQ,CAAC;AAmBhC;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB;;iSAWpC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB;;mLAWnC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;;
|
|
1
|
+
{"version":3,"file":"async-parametric.d.ts","sourceRoot":"","sources":["../../../src/assertion/impl/async-parametric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,QAAQ,CAAC;AAmBhC;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB;;iSAWpC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,uBAAuB;;mLAWnC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB;;oSAUnC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB;;sLAUlC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;0bAkC3C,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;4UAkC1C,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,0CAA0C;;;;;;;;kVAoCtD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,yCAAyC;;;;;;;;oOAmCrD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,0CAA0C;;;;;;;;iOAyBtD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,2CAA2C;;;;;;;;+UAwBvD,CAAC"}
|
|
@@ -79,7 +79,7 @@ export const promiseResolveAssertion = createAsyncAssertion([WrappedPromiseLikeS
|
|
|
79
79
|
*
|
|
80
80
|
* @group Parametric Assertions (Async)
|
|
81
81
|
*/
|
|
82
|
-
export const functionRejectAssertion = createAsyncAssertion([FunctionSchema, 'to reject'], async (subject) => {
|
|
82
|
+
export const functionRejectAssertion = createAsyncAssertion([FunctionSchema, ['to reject', 'to be rejected']], async (subject) => {
|
|
83
83
|
const { error, result } = await trapAsyncFnError(subject);
|
|
84
84
|
if (error === undefined) {
|
|
85
85
|
return {
|
|
@@ -99,7 +99,7 @@ export const functionRejectAssertion = createAsyncAssertion([FunctionSchema, 'to
|
|
|
99
99
|
*
|
|
100
100
|
* @group Parametric Assertions (Async)
|
|
101
101
|
*/
|
|
102
|
-
export const promiseRejectAssertion = createAsyncAssertion([WrappedPromiseLikeSchema, 'to reject'], async (subject) => {
|
|
102
|
+
export const promiseRejectAssertion = createAsyncAssertion([WrappedPromiseLikeSchema, ['to reject', 'to be rejected']], async (subject) => {
|
|
103
103
|
const { error, result } = await trapPromiseError(subject);
|
|
104
104
|
if (error === undefined) {
|
|
105
105
|
return {
|
|
@@ -129,7 +129,12 @@ export const promiseRejectAssertion = createAsyncAssertion([WrappedPromiseLikeSc
|
|
|
129
129
|
*/
|
|
130
130
|
export const functionRejectWithTypeAssertion = createAsyncAssertion([
|
|
131
131
|
FunctionSchema,
|
|
132
|
-
[
|
|
132
|
+
[
|
|
133
|
+
'to reject with a',
|
|
134
|
+
'to reject with an',
|
|
135
|
+
'to be rejected with a',
|
|
136
|
+
'to be rejected with an',
|
|
137
|
+
],
|
|
133
138
|
ConstructibleSchema,
|
|
134
139
|
], async (subject, ctor) => {
|
|
135
140
|
const { error, result } = await trapAsyncFnError(subject);
|
|
@@ -176,7 +181,12 @@ export const functionRejectWithTypeAssertion = createAsyncAssertion([
|
|
|
176
181
|
*/
|
|
177
182
|
export const promiseRejectWithTypeAssertion = createAsyncAssertion([
|
|
178
183
|
WrappedPromiseLikeSchema,
|
|
179
|
-
[
|
|
184
|
+
[
|
|
185
|
+
'to reject with a',
|
|
186
|
+
'to reject with an',
|
|
187
|
+
'to be rejected with a',
|
|
188
|
+
'to be rejected with an',
|
|
189
|
+
],
|
|
180
190
|
ConstructibleSchema,
|
|
181
191
|
], async (subject, ctor) => {
|
|
182
192
|
const { error, result } = await trapPromiseError(subject);
|
|
@@ -227,7 +237,11 @@ export const promiseRejectWithTypeAssertion = createAsyncAssertion([
|
|
|
227
237
|
*
|
|
228
238
|
* @group Parametric Assertions (Async)
|
|
229
239
|
*/
|
|
230
|
-
export const functionRejectWithErrorSatisfyingAssertion = createAsyncAssertion([
|
|
240
|
+
export const functionRejectWithErrorSatisfyingAssertion = createAsyncAssertion([
|
|
241
|
+
FunctionSchema,
|
|
242
|
+
['to reject with error satisfying', 'to be rejected with error satisfying'],
|
|
243
|
+
UnknownSchema,
|
|
244
|
+
], async (subject, param) => {
|
|
231
245
|
const { error, result } = await trapAsyncFnError(subject);
|
|
232
246
|
if (error === undefined) {
|
|
233
247
|
return {
|
|
@@ -282,7 +296,7 @@ export const functionRejectWithErrorSatisfyingAssertion = createAsyncAssertion([
|
|
|
282
296
|
*/
|
|
283
297
|
export const promiseRejectWithErrorSatisfyingAssertion = createAsyncAssertion([
|
|
284
298
|
WrappedPromiseLikeSchema,
|
|
285
|
-
['to reject with error satisfying'],
|
|
299
|
+
['to reject with error satisfying', 'to be rejected with error satisfying'],
|
|
286
300
|
UnknownSchema,
|
|
287
301
|
], async (subject, param) => {
|
|
288
302
|
const { error, result } = await trapPromiseError(subject);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async-parametric.js","sourceRoot":"","sources":["../../../src/assertion/impl/async-parametric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wBAAwB,EAAE,uBAAuB;AAC1D,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,QAAQ,EAAE,wBAAwB;AACjE,OAAO,EACL,mBAAmB,EACnB,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACd,aAAa,EACb,wBAAwB,GACzB,wBAAwB;AACzB,OAAO,EACL,aAAa,EACb,gCAAgC,GACjC,iCAAiC;AAClC,OAAO,EAAE,oBAAoB,EAAE,qBAAqB;AACpD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,4BAA4B;AAEzE;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,oBAAoB,CAC1D,CAAC,cAAc,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,EAC9C,KAAK,EAAE,OAAO,EAAE,EAAE;IAChB,IAAI,CAAC;QACH,MAAM,OAAO,EAAE,CAAC;IAClB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO;YACL,OAAO,EAAE,uDAAuD;SACjE,CAAC;IACJ,CAAC;AACH,CAAC,CACF,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,oBAAoB,CACzD,CAAC,wBAAwB,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,EACxD,KAAK,EAAE,OAAO,EAAE,EAAE;IAChB,IAAI,CAAC;QACH,MAAM,OAAO,CAAC;IAChB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO;YACL,OAAO,EAAE,sDAAsD;SAChE,CAAC;IACJ,CAAC;AACH,CAAC,CACF,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,oBAAoB,CACzD,CAAC,cAAc,EAAE,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"async-parametric.js","sourceRoot":"","sources":["../../../src/assertion/impl/async-parametric.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,wBAAwB,EAAE,uBAAuB;AAC1D,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,QAAQ,EAAE,wBAAwB;AACjE,OAAO,EACL,mBAAmB,EACnB,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACd,aAAa,EACb,wBAAwB,GACzB,wBAAwB;AACzB,OAAO,EACL,aAAa,EACb,gCAAgC,GACjC,iCAAiC;AAClC,OAAO,EAAE,oBAAoB,EAAE,qBAAqB;AACpD,OAAO,EAAE,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CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,qDAAqD,OAAO,CACnE,GAAG,CACJ,EAAE;SACJ,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,EAAE,gCAAgC,CAAC,CAAC;IAEtE,OAAO;QACL,MAAM;QACN,OAAO,EAAE,KAAK;KACf,CAAC;AACJ,CAAC,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,oBAAoB,CAC7E;IACE,cAAc;IACd,CAAC,kCAAkC,EAAE,kCAAkC,CAAC;IACxE,aAAa;CACd,EACD,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;IACvB,IAAI,KAAc,CAAC;IACnB,IAAI,CAAC;QACH,KAAK,GAAG,MAAM,OAAO,EAAE,CAAC;IAC1B,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,sDAAsD,OAAO,CACpE,GAAG,CACJ,EAAE;SACJ,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,EAAE,gCAAgC,CAAC,CAAC;IACtE,OAAO;QACL,MAAM;QACN,OAAO,EAAE,KAAK;KACf,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -15,58 +15,58 @@ export declare const AsyncParametricAssertions: readonly [import("../assertion-t
|
|
|
15
15
|
message: string;
|
|
16
16
|
} | 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 resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to resolve", "to fulfill"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
17
17
|
message: string;
|
|
18
|
-
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, "to reject"], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
18
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, 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", "to be rejected"]], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
19
19
|
message: string;
|
|
20
|
-
} | undefined>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").
|
|
20
|
+
} | 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", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject", "to be rejected"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
21
21
|
message: string;
|
|
22
|
-
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").
|
|
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
|
-
} | 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"]>, 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"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
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
|
-
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject 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"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
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?:
|
|
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"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying"], import("zod/v4").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
45
|
+
message?: undefined;
|
|
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?:
|
|
54
|
-
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject 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<{
|
|
53
|
+
message?: undefined;
|
|
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).
|
|
@@ -77,58 +77,58 @@ export declare const AsyncAssertions: readonly [import("../assertion-types.js").
|
|
|
77
77
|
message: string;
|
|
78
78
|
} | 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 resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to resolve", "to fulfill"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
79
79
|
message: string;
|
|
80
|
-
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, "to reject"], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
80
|
+
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>]>, 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", "to be rejected"]], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown) => Promise<{
|
|
81
81
|
message: string;
|
|
82
|
-
} | undefined>, readonly [import("zod/v4").ZodCustom<(...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown>, import("../assertion-types.js").
|
|
82
|
+
} | 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", "to be rejected"]>]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject", "to be rejected"]], (subject: PromiseLike<unknown>) => Promise<{
|
|
83
83
|
message: string;
|
|
84
|
-
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").
|
|
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
|
-
} | 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"]>, 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"], import("zod/v4").ZodCustom<import("../../types.js").Constructor, import("../../types.js").Constructor>], (subject: PromiseLike<unknown>, ctor: import("../../types.js").Constructor) => Promise<{
|
|
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
|
-
} | undefined>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject with a", "to reject 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"], import("zod/v4").ZodUnknown], (subject: (...args: import("../../types.js").MutableOrReadonly<unknown[]>) => unknown, param: unknown) => Promise<{
|
|
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?:
|
|
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"]>, import("zod/v4").ZodUnknown]>, import("../assertion-types.js").AssertionFunctionAsync<readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, readonly ["to reject with error satisfying"], import("zod/v4").ZodUnknown], (subject: PromiseLike<unknown>, param: unknown) => Promise<{
|
|
107
|
+
message?: undefined;
|
|
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?:
|
|
116
|
-
}>, readonly [import("zod/v4").ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>, import("../assertion-types.js").PhraseLiteralChoiceSlot<readonly ["to reject 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<{
|
|
115
|
+
message?: undefined;
|
|
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
|