vitest 0.0.132 → 0.0.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -385,10 +385,18 @@ declare class VerboseReporter extends DefaultReporter {
385
385
  constructor();
386
386
  }
387
387
 
388
+ declare class TapReporter implements Reporter {
389
+ private ctx;
390
+ onInit(ctx: Vitest): void;
391
+ logTasks(tasks: Task[], currentIdent: string): void;
392
+ onFinished(files?: File[]): Promise<void>;
393
+ }
394
+
388
395
  declare const ReportersMap: {
389
396
  default: typeof DefaultReporter;
390
397
  verbose: typeof VerboseReporter;
391
398
  dot: typeof DotReporter;
399
+ tap: typeof TapReporter;
392
400
  };
393
401
  declare type BuiltinReporters = keyof typeof ReportersMap;
394
402
 
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export { d as describe, i as it, c as suite, t as test, e as vi, v as vitest } from './vi-d23b3fa3.js';
2
- export { a as afterAll, d as afterEach, b as beforeAll, c as beforeEach, e as expect } from './index-e7a9a813.js';
1
+ export { d as describe, i as it, c as suite, t as test, e as vi, v as vitest } from './vi-aec007e7.js';
2
+ export { a as afterAll, d as afterEach, b as beforeAll, c as beforeEach, e as expect } from './index-354a6abd.js';
3
3
  export { f as fn, i as isMockFunction, s as spies, a as spyOn } from './jest-mock-30625866.js';
4
4
  export { assert, default as chai, should } from 'chai';
5
- import './index-64aafe4b.js';
5
+ import './index-720a83c6.js';
6
6
  import 'url';
7
7
  import 'tty';
8
8
  import 'local-pkg';
package/dist/node.d.ts CHANGED
@@ -68,10 +68,18 @@ declare class VerboseReporter extends DefaultReporter {
68
68
  constructor();
69
69
  }
70
70
 
71
+ declare class TapReporter implements Reporter {
72
+ private ctx;
73
+ onInit(ctx: Vitest): void;
74
+ logTasks(tasks: Task[], currentIdent: string): void;
75
+ onFinished(files?: File[]): Promise<void>;
76
+ }
77
+
71
78
  declare const ReportersMap: {
72
79
  default: typeof DefaultReporter;
73
80
  verbose: typeof VerboseReporter;
74
81
  dot: typeof DotReporter;
82
+ tap: typeof TapReporter;
75
83
  };
76
84
  declare type BuiltinReporters = keyof typeof ReportersMap;
77
85
 
package/dist/node.js CHANGED
@@ -1,6 +1,6 @@
1
- export { c as createVitest } from './index-eb09e1f4.js';
1
+ export { c as createVitest } from './index-7f7acd60.js';
2
2
  import 'fs';
3
- import './index-64aafe4b.js';
3
+ import './index-720a83c6.js';
4
4
  import 'url';
5
5
  import 'tty';
6
6
  import 'local-pkg';
@@ -11,11 +11,11 @@ import 'os';
11
11
  import 'util';
12
12
  import 'stream';
13
13
  import 'events';
14
- import './constants-d24b670d.js';
14
+ import './constants-0211a379.js';
15
15
  import './magic-string.es-94000aea.js';
16
16
  import 'perf_hooks';
17
- import './diff-647a0e09.js';
18
- import './index-648e7ab2.js';
17
+ import './diff-18d4a7eb.js';
18
+ import './index-7975be53.js';
19
19
  import './_commonjsHelpers-c9e3b764.js';
20
20
  import 'assert';
21
21
  import 'module';