vitest 5.0.0-beta.6 → 5.0.0-beta.7
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/LICENSE.md +165 -1
- package/dist/browser.d.ts +27 -14
- package/dist/browser.js +11 -14
- package/dist/chunks/{artifact.BNnEI1sJ.js → artifact.DC5WoEgy.js} +1305 -8
- package/dist/chunks/{base.BKfXyFN7.js → base.B0fUxpj9.js} +17 -13
- package/dist/chunks/{browser.d.DoM6vBOs.d.ts → browser.d.BFOby8YL.d.ts} +3 -3
- package/dist/chunks/{cac.DKrA6qEB.js → cac.B41kXwyU.js} +20 -22
- package/dist/chunks/check.Cz_-YojU.js +15 -0
- package/dist/chunks/cli-api.bqNN5viV.js +519 -0
- package/dist/chunks/{config.d.CKWK3nld.d.ts → config.d.DsC1jkby.d.ts} +871 -25
- package/dist/chunks/{console.DjVIMaXT.js → console.omGxyKMT.js} +5 -5
- package/dist/chunks/{coverage.CTzCuANN.js → coverage.BVb1JqW7.js} +7 -2
- package/dist/chunks/coverage.BfSEMtie.js +26 -0
- package/dist/chunks/coverage.d.ByaAMV4A.d.ts +88 -0
- package/dist/chunks/{creator.C4nK7Krt.js → creator.BzMFaPC-.js} +53 -29
- package/dist/chunks/{defaults.B_pFOTYy.js → defaults.BJUmAuaO.js} +2 -1
- package/dist/chunks/display.CYwyMF4S.js +192 -0
- package/dist/chunks/{env.BKKtU2WC.js → env.DzFJjrmK.js} +1 -1
- package/dist/chunks/{environment.d.CrsxCzP1.d.ts → environment.d.4-rzQgpt.d.ts} +1 -1
- package/dist/chunks/globals.sd6Qutmc.js +28 -0
- package/dist/chunks/{cli-api.cZcvaUFI.js → index.5krd73UD.js} +15958 -14627
- package/dist/chunks/{index.D6NDM5O1.js → index.CLtI1k_4.js} +135 -101
- package/dist/chunks/{index.DNRmy2jU.js → index.DxR-nMjO.js} +42 -4
- package/dist/chunks/index.DzTmMrSM.js +940 -0
- package/dist/chunks/{index.B4UTDegh.js → index.JaztIWgW.js} +5 -4
- package/dist/chunks/{init-forks.BG4bCDny.js → init-forks.CXzT841o.js} +1 -1
- package/dist/chunks/{init-threads.DLtIP5Qq.js → init-threads.Ch-Bw5j3.js} +1 -1
- package/dist/chunks/{init.DTAQFCjl.js → init.CfiYZpFg.js} +40 -24
- package/dist/chunks/{native.DPzPHdi5.js → native.BUCvPRKp.js} +3 -4
- package/dist/chunks/{nativeModuleMocker.BKtCThoO.js → nativeModuleMocker.Uot80PXb.js} +2 -3
- package/dist/chunks/{index.CesbTg1C.js → nativeModuleRunner.BDnwGb8g.js} +39 -3
- package/dist/chunks/{node.C9I1sbE9.js → node.BPMnm_Q2.js} +1 -1
- package/dist/chunks/offset.Dy-5Fdfn.js +24 -0
- package/dist/chunks/pathe.M-eThtNZ.CbK_Vbae.js +489 -0
- package/dist/chunks/{plugin.d.Bpge8Jye.d.ts → plugin.d.BOjbmxWW.d.ts} +1719 -1549
- package/dist/chunks/{plugins.DrsmdUE2.js → plugins.CsoX-42X.js} +1 -1
- package/dist/chunks/resolver.CERfsKE-.js +48 -0
- package/dist/chunks/{rpc.d.C6-dGZ2f.d.ts → rpc.d.BeasqWpO.d.ts} +14 -1
- package/dist/chunks/{rpc.DZEh5xnQ.js → rpc.iNjF664v.js} +2 -2
- package/dist/chunks/setup-common.vxjAyUtK.js +36 -0
- package/dist/chunks/setup.DasACXvo.js +5409 -0
- package/dist/chunks/source-map.DZdIqpIJ.js +1776 -0
- package/dist/chunks/spy.B8mHA9qu.js +422 -0
- package/dist/chunks/{task-utils.d.mMDXJF_I.d.ts → task-utils.d.BKHiHxSN.d.ts} +1 -2
- package/dist/chunks/tinyrainbow.Ht9iggcq.js +95 -0
- package/dist/chunks/{utils.DKODp04v.js → utils.CO-iLyCr.js} +41 -42
- package/dist/chunks/{vm.CeHWcIrU.js → vm.DoQh8CN9.js} +110 -11
- package/dist/chunks/{worker.d.JES7ffPK.d.ts → worker.d.s_RdeZtI.d.ts} +14 -11
- package/dist/cli.js +4 -5
- package/dist/config.cjs +1 -0
- package/dist/config.d.ts +19 -17
- package/dist/config.js +2 -2
- package/dist/index.d.ts +14 -29
- package/dist/index.js +11 -16
- package/dist/module-evaluator.d.ts +40 -8
- package/dist/module-evaluator.js +66 -22
- package/dist/node.d.ts +210 -82
- package/dist/node.js +29 -66
- package/dist/runtime.d.ts +5 -10
- package/dist/runtime.js +4 -5
- package/dist/spy.js +1 -1
- package/dist/task-utils.js +1 -2
- package/dist/worker.d.ts +5 -10
- package/dist/worker.js +24 -36
- package/dist/workers/forks.js +21 -33
- package/dist/workers/runVmTests.js +15 -20
- package/dist/workers/threads.js +21 -33
- package/dist/workers/vmForks.js +13 -15
- package/dist/workers/vmThreads.js +13 -15
- package/package.json +15 -15
- package/dist/chunks/_commonjsHelpers.D26ty3Ew.js +0 -6
- package/dist/chunks/coverage.d.CCNrKR65.d.ts +0 -43
- package/dist/chunks/globals.CzUA1xn8.js +0 -33
- package/dist/chunks/index.Djaij2xr.js +0 -6960
- package/dist/chunks/nativeModuleRunner.WlMdOB52.js +0 -36
- package/dist/chunks/setup-common.ZNdeu5wa.js +0 -64
package/LICENSE.md
CHANGED
|
@@ -316,6 +316,65 @@ Repository: egoist/cac
|
|
|
316
316
|
|
|
317
317
|
---------------------------------------
|
|
318
318
|
|
|
319
|
+
## convert-source-map
|
|
320
|
+
License: MIT
|
|
321
|
+
By: Thorsten Lorenz
|
|
322
|
+
Repository: git://github.com/thlorenz/convert-source-map.git
|
|
323
|
+
|
|
324
|
+
> Copyright 2013 Thorsten Lorenz.
|
|
325
|
+
> All rights reserved.
|
|
326
|
+
>
|
|
327
|
+
> Permission is hereby granted, free of charge, to any person
|
|
328
|
+
> obtaining a copy of this software and associated documentation
|
|
329
|
+
> files (the "Software"), to deal in the Software without
|
|
330
|
+
> restriction, including without limitation the rights to use,
|
|
331
|
+
> copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
332
|
+
> copies of the Software, and to permit persons to whom the
|
|
333
|
+
> Software is furnished to do so, subject to the following
|
|
334
|
+
> conditions:
|
|
335
|
+
>
|
|
336
|
+
> The above copyright notice and this permission notice shall be
|
|
337
|
+
> included in all copies or substantial portions of the Software.
|
|
338
|
+
>
|
|
339
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
340
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
341
|
+
> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
342
|
+
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
343
|
+
> HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
344
|
+
> WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
345
|
+
> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
346
|
+
> OTHER DEALINGS IN THE SOFTWARE.
|
|
347
|
+
|
|
348
|
+
---------------------------------------
|
|
349
|
+
|
|
350
|
+
## diff-sequences
|
|
351
|
+
License: MIT
|
|
352
|
+
Repository: https://github.com/jestjs/jest.git
|
|
353
|
+
|
|
354
|
+
> MIT License
|
|
355
|
+
>
|
|
356
|
+
> Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
357
|
+
>
|
|
358
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
359
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
360
|
+
> in the Software without restriction, including without limitation the rights
|
|
361
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
362
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
363
|
+
> furnished to do so, subject to the following conditions:
|
|
364
|
+
>
|
|
365
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
366
|
+
> copies or substantial portions of the Software.
|
|
367
|
+
>
|
|
368
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
369
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
370
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
371
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
372
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
373
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
374
|
+
> SOFTWARE.
|
|
375
|
+
|
|
376
|
+
---------------------------------------
|
|
377
|
+
|
|
319
378
|
## flatted
|
|
320
379
|
License: ISC
|
|
321
380
|
By: Andrea Giammarchi
|
|
@@ -346,7 +405,7 @@ Repository: lydell/js-tokens
|
|
|
346
405
|
|
|
347
406
|
> The MIT License (MIT)
|
|
348
407
|
>
|
|
349
|
-
> Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Simon Lydell
|
|
408
|
+
> Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 Simon Lydell
|
|
350
409
|
>
|
|
351
410
|
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
352
411
|
> of this software and associated documentation files (the "Software"), to deal
|
|
@@ -519,6 +578,83 @@ Repository: git+https://github.com/antfu-collective/package-manager-detector.git
|
|
|
519
578
|
|
|
520
579
|
---------------------------------------
|
|
521
580
|
|
|
581
|
+
## pathe
|
|
582
|
+
License: MIT
|
|
583
|
+
Repository: unjs/pathe
|
|
584
|
+
|
|
585
|
+
> MIT License
|
|
586
|
+
>
|
|
587
|
+
> Copyright (c) Pooya Parsa <pooya@pi0.io> - Daniel Roe <daniel@roe.dev>
|
|
588
|
+
>
|
|
589
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
590
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
591
|
+
> in the Software without restriction, including without limitation the rights
|
|
592
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
593
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
594
|
+
> furnished to do so, subject to the following conditions:
|
|
595
|
+
>
|
|
596
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
597
|
+
> copies or substantial portions of the Software.
|
|
598
|
+
>
|
|
599
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
600
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
601
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
602
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
603
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
604
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
605
|
+
> SOFTWARE.
|
|
606
|
+
>
|
|
607
|
+
> ---
|
|
608
|
+
>
|
|
609
|
+
> Copyright Joyent, Inc. and other Node contributors.
|
|
610
|
+
>
|
|
611
|
+
> Permission is hereby granted, free of charge, to any person obtaining a
|
|
612
|
+
> copy of this software and associated documentation files (the
|
|
613
|
+
> "Software"), to deal in the Software without restriction, including
|
|
614
|
+
> without limitation the rights to use, copy, modify, merge, publish,
|
|
615
|
+
> distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
616
|
+
> persons to whom the Software is furnished to do so, subject to the
|
|
617
|
+
> following conditions:
|
|
618
|
+
>
|
|
619
|
+
> The above copyright notice and this permission notice shall be included
|
|
620
|
+
> in all copies or substantial portions of the Software.
|
|
621
|
+
>
|
|
622
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
623
|
+
> OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
624
|
+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
625
|
+
> NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
626
|
+
> DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
627
|
+
> OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
628
|
+
> USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
629
|
+
>
|
|
630
|
+
> ---
|
|
631
|
+
>
|
|
632
|
+
> Bundled zeptomatch (https://github.com/fabiospampinato/zeptomatch)
|
|
633
|
+
>
|
|
634
|
+
> The MIT License (MIT)
|
|
635
|
+
>
|
|
636
|
+
> Copyright (c) 2023-present Fabio Spampinato
|
|
637
|
+
>
|
|
638
|
+
> Permission is hereby granted, free of charge, to any person obtaining a
|
|
639
|
+
> copy of this software and associated documentation files (the "Software"),
|
|
640
|
+
> to deal in the Software without restriction, including without limitation
|
|
641
|
+
> the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
642
|
+
> and/or sell copies of the Software, and to permit persons to whom the
|
|
643
|
+
> Software is furnished to do so, subject to the following conditions:
|
|
644
|
+
>
|
|
645
|
+
> The above copyright notice and this permission notice shall be included in
|
|
646
|
+
> all copies or substantial portions of the Software.
|
|
647
|
+
>
|
|
648
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
649
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
650
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
651
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
652
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
653
|
+
> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
654
|
+
> DEALINGS IN THE SOFTWARE.
|
|
655
|
+
|
|
656
|
+
---------------------------------------
|
|
657
|
+
|
|
522
658
|
## prompts
|
|
523
659
|
License: MIT
|
|
524
660
|
By: Terkel Gjervig
|
|
@@ -719,6 +855,34 @@ Repository: git+https://github.com/tinylibs/tinyhighlight.git
|
|
|
719
855
|
|
|
720
856
|
---------------------------------------
|
|
721
857
|
|
|
858
|
+
## tinyrainbow
|
|
859
|
+
License: MIT
|
|
860
|
+
Repository: git+https://github.com/tinylibs/tinyrainbow.git
|
|
861
|
+
|
|
862
|
+
> MIT License
|
|
863
|
+
>
|
|
864
|
+
> Copyright (c) 2022 Tinylibs
|
|
865
|
+
>
|
|
866
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
867
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
868
|
+
> in the Software without restriction, including without limitation the rights
|
|
869
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
870
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
871
|
+
> furnished to do so, subject to the following conditions:
|
|
872
|
+
>
|
|
873
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
874
|
+
> copies or substantial portions of the Software.
|
|
875
|
+
>
|
|
876
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
877
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
878
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
879
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
880
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
881
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
882
|
+
> SOFTWARE.
|
|
883
|
+
|
|
884
|
+
---------------------------------------
|
|
885
|
+
|
|
722
886
|
## type-detect
|
|
723
887
|
License: MIT
|
|
724
888
|
By: Jake Luer, Keith Cirkel, David Losert, Aleksey Shvayka, Lucas Fernandes da Costa, Grant Snodgrass, Jeremy Tice, Edward Betts, dvlsg, Amila Welihinda, Jake Champion, Miroslav Bajtoš
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,18 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export { ParsedStack, StringifyOptions } from '@vitest/utils';
|
|
7
|
-
export { format, inspect, stringify } from '@vitest/utils/display';
|
|
8
|
-
export { processError } from '@vitest/utils/error';
|
|
9
|
-
export { getType } from '@vitest/utils/helpers';
|
|
10
|
-
export { DecodedMap, getOriginalPosition } from '@vitest/utils/source-map';
|
|
11
|
-
export { getSafeTimers, setSafeTimers } from '@vitest/utils/timers';
|
|
12
|
-
import '@vitest/pretty-format';
|
|
13
|
-
import 'tinyrainbow';
|
|
1
|
+
import { az as SerializedCoverageConfig, be as FileSpecification, V as VitestRunner, F as File, x as SerializedConfig, bf as SerializedDiffOptions, a8 as DiffOptions, aU as TestError } from './chunks/config.d.DsC1jkby.js';
|
|
2
|
+
export { au as ParsedStack, bg as SpyModule, bh as StringifyOptions, bi as format, bj as inspect, bk as stringify } from './chunks/config.d.DsC1jkby.js';
|
|
3
|
+
import { R as RuntimeCoverageModuleLoader } from './chunks/coverage.d.ByaAMV4A.js';
|
|
4
|
+
export { D as DecodedMap, g as getOriginalPosition } from './chunks/coverage.d.ByaAMV4A.js';
|
|
5
|
+
import 'vitest/optional-runtime-types.js';
|
|
14
6
|
import 'tinybench';
|
|
15
7
|
|
|
8
|
+
declare function getType(value: unknown): string;
|
|
9
|
+
|
|
10
|
+
interface SafeTimers {
|
|
11
|
+
nextTick?: (cb: () => void) => void;
|
|
12
|
+
setImmediate?: {
|
|
13
|
+
<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): any;
|
|
14
|
+
__promisify__: <T = void>(value?: T, options?: any) => Promise<T>;
|
|
15
|
+
};
|
|
16
|
+
clearImmediate?: (immediateId: any) => void;
|
|
17
|
+
setTimeout: typeof setTimeout;
|
|
18
|
+
setInterval: typeof setInterval;
|
|
19
|
+
clearInterval: typeof clearInterval;
|
|
20
|
+
clearTimeout: typeof clearTimeout;
|
|
21
|
+
queueMicrotask: typeof queueMicrotask;
|
|
22
|
+
}
|
|
23
|
+
declare function getSafeTimers(): SafeTimers;
|
|
24
|
+
declare function setSafeTimers(): void;
|
|
25
|
+
|
|
16
26
|
declare function startCoverageInsideWorker(options: SerializedCoverageConfig, loader: RuntimeCoverageModuleLoader, runtimeOptions: {
|
|
17
27
|
isolate: boolean;
|
|
18
28
|
}): Promise<unknown>;
|
|
@@ -29,9 +39,12 @@ interface PublicModuleRunner {
|
|
|
29
39
|
}
|
|
30
40
|
|
|
31
41
|
declare function setupCommonEnv(config: SerializedConfig): Promise<void>;
|
|
42
|
+
declare function setupEnv(env: Record<string, any>, metaEnv: Record<string, any>): void;
|
|
32
43
|
declare function loadDiffConfig(config: SerializedConfig, moduleRunner: PublicModuleRunner): Promise<SerializedDiffOptions | undefined>;
|
|
33
44
|
declare function loadSnapshotSerializers(config: SerializedConfig, moduleRunner: PublicModuleRunner): Promise<void>;
|
|
34
45
|
|
|
46
|
+
declare function processError(_err: any, diffOptions?: DiffOptions, seen?: WeakSet<WeakKey>): TestError;
|
|
47
|
+
|
|
35
48
|
interface FsOptions {
|
|
36
49
|
encoding?: BufferEncoding;
|
|
37
50
|
flag?: string | number;
|
|
@@ -45,5 +58,5 @@ interface BrowserCommands {
|
|
|
45
58
|
}
|
|
46
59
|
interface CDPSession {}
|
|
47
60
|
|
|
48
|
-
export { FileSpecification, publicCollect as collectTests, loadDiffConfig, loadSnapshotSerializers, setupCommonEnv, startCoverageInsideWorker, startTests, stopCoverageInsideWorker, takeCoverageInsideWorker };
|
|
61
|
+
export { FileSpecification, publicCollect as collectTests, getSafeTimers, getType, loadDiffConfig, loadSnapshotSerializers, processError, setSafeTimers, setupCommonEnv, setupEnv, startCoverageInsideWorker, startTests, stopCoverageInsideWorker, takeCoverageInsideWorker };
|
|
49
62
|
export type { BrowserCommands, CDPSession, FsOptions };
|
package/dist/browser.js
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { p as collectTests, s as startTests } from './chunks/artifact.
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
export { format, inspect, stringify } from '
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import './chunks/
|
|
11
|
-
import './chunks/utils.DYj33du9.js';
|
|
12
|
-
import './chunks/plugins.DrsmdUE2.js';
|
|
13
|
-
import '@vitest/pretty-format';
|
|
1
|
+
export { s as startCoverageInsideWorker, a as stopCoverageInsideWorker, t as takeCoverageInsideWorker } from './chunks/coverage.BfSEMtie.js';
|
|
2
|
+
export { p as collectTests, a as processError, s as startTests } from './chunks/artifact.DC5WoEgy.js';
|
|
3
|
+
export { l as loadDiffConfig, a as loadSnapshotSerializers, s as setupCommonEnv, b as setupEnv } from './chunks/setup-common.vxjAyUtK.js';
|
|
4
|
+
export { s as SpyModule } from './chunks/spy.B8mHA9qu.js';
|
|
5
|
+
export { f as format, i as inspect, s as stringify } from './chunks/display.CYwyMF4S.js';
|
|
6
|
+
export { g as getType } from './chunks/pathe.M-eThtNZ.CbK_Vbae.js';
|
|
7
|
+
export { D as DecodedMap, g as getOriginalPosition, a as getSafeTimers, s as setSafeTimers } from './chunks/source-map.DZdIqpIJ.js';
|
|
8
|
+
import './chunks/coverage.BVb1JqW7.js';
|
|
9
|
+
import './chunks/index.DzTmMrSM.js';
|
|
10
|
+
import './chunks/tinyrainbow.Ht9iggcq.js';
|
|
14
11
|
import './task-utils.js';
|
|
15
|
-
import '
|
|
12
|
+
import './chunks/plugins.CsoX-42X.js';
|
|
16
13
|
|
|
17
14
|
/**
|
|
18
15
|
* @internal
|