@yeger/vitest-utils 1.0.0 → 1.0.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/dist/index.d.ts +5 -21
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
|
+
import { TestUserConfig } from "vitest/config";
|
|
2
|
+
|
|
1
3
|
//#region src/config.d.ts
|
|
2
|
-
declare const configuration:
|
|
3
|
-
coverage: {
|
|
4
|
-
coverage: {
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
include: string[];
|
|
7
|
-
exclude: string[];
|
|
8
|
-
provider: "v8";
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
idempotent: {
|
|
12
|
-
clearMocks: true;
|
|
13
|
-
mockReset: true;
|
|
14
|
-
restoreMocks: true;
|
|
15
|
-
sequence: {
|
|
16
|
-
shuffle: true;
|
|
17
|
-
};
|
|
18
|
-
unstubEnvs: true;
|
|
19
|
-
unstubGlobals: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
4
|
+
declare const configuration: Record<string, TestUserConfig>;
|
|
22
5
|
//#endregion
|
|
23
|
-
export { configuration };
|
|
6
|
+
export { configuration };
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["configuration: Record<string, TestUserConfig>"],"sources":["../src/config.ts"],"sourcesContent":[],"mappings":";;;cAGaA,eAAe,eAAe"}
|
package/dist/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["configuration: Record<string, TestUserConfig>"],"sources":["../src/config.ts"],"sourcesContent":["import process from 'node:process'\nimport type { TestUserConfig } from 'vitest/config'\n\nexport const configuration: Record<string, TestUserConfig> = {\n coverage: {\n coverage: {\n enabled: !!process.env.COVERAGE,\n include: ['src/**/*.*'],\n exclude: ['*.d.ts', '*.ohm', '.gitignore'],\n provider: 'v8' as const,\n },\n },\n idempotent: {\n clearMocks: true,\n mockReset: true,\n restoreMocks: true,\n sequence: {\n shuffle: true,\n },\n unstubEnvs: true,\n unstubGlobals: true,\n },\n}\n"],"mappings":";;;AAGA,MAAaA,gBAAgD;CAC3D,UAAU,EACR,UAAU;EACR,SAAS,CAAC,CAAC,QAAQ,IAAI;EACvB,SAAS,CAAC,aAAa;EACvB,SAAS;GAAC;GAAU;GAAS;GAAa;EAC1C,UAAU;EACX,EACF;CACD,YAAY;EACV,YAAY;EACZ,WAAW;EACX,cAAc;EACd,UAAU,EACR,SAAS,MACV;EACD,YAAY;EACZ,eAAe;EAChB;CACF"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yeger/vitest-utils",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jan Müller",
|
|
7
7
|
"url": "https://github.com/DerYeger"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"tsdown": "0.15.11",
|
|
36
36
|
"typescript": "5.9.3",
|
|
37
|
-
"@yeger/tsconfig": "2.1.
|
|
37
|
+
"@yeger/tsconfig": "2.1.2"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|