@vitest-agent/sdk 2.4.13 → 2.5.1
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/dispatch.d.ts +4 -4
- package/index.d.ts +676 -458
- package/index.js +5 -3
- package/layers/DataReaderLive.js +101 -23
- package/layers/DataStoreLive.js +54 -6
- package/migrations/0001_initial.js +6 -2
- package/package.json +11 -11
- package/schemas/ConsoleLeaks.js +20 -3
- package/schemas/Coverage.js +1 -0
- package/schemas/RenderState.js +14 -3
- package/schemas/RunEvent.js +12 -2
- package/testing.d.ts +169 -52
- package/utils/console-leaks.js +42 -15
- package/utils/detect-non-default-discover-strategy.js +38 -0
- package/utils/format-console.js +5 -0
- package/utils/format-scoped-coverage-note.js +25 -0
- package/utils/format-terminal.js +15 -2
- package/utils/validate-phase-transition.js +20 -6
package/dispatch.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* taxonomy. Unknown tags collapse to `5` (other unexpected defect).
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
declare const exitCodeForTag: (tag: string) => number;
|
|
7
|
+
export declare const exitCodeForTag: (tag: string) => number;
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/internal-inject-env.d.ts
|
|
10
10
|
/** Input to {@link injectEnv}. @public */
|
|
@@ -25,7 +25,7 @@ interface InjectEnvInput {
|
|
|
25
25
|
* fast enough not to need Effect wrapping.
|
|
26
26
|
* @public
|
|
27
27
|
*/
|
|
28
|
-
declare const injectEnv: (input: InjectEnvInput) => string;
|
|
28
|
+
export declare const injectEnv: (input: InjectEnvInput) => string;
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/sidecar-dispatch.d.ts
|
|
31
31
|
/** Result of a {@link dispatch} call: captured stdout/stderr + exit code.
|
|
@@ -42,7 +42,7 @@ interface DispatchResult {
|
|
|
42
42
|
* folded into the returned {@link DispatchResult}.
|
|
43
43
|
* @public
|
|
44
44
|
*/
|
|
45
|
-
declare const dispatch: (argv: readonly string[]) => Promise<DispatchResult>;
|
|
45
|
+
export declare const dispatch: (argv: readonly string[]) => Promise<DispatchResult>;
|
|
46
46
|
//#endregion
|
|
47
|
-
export {
|
|
47
|
+
export type { DispatchResult, InjectEnvInput };
|
|
48
48
|
//# sourceMappingURL=dispatch.d.ts.map
|