|
1 | 1 | // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
2 | 2 |
|
3 | 3 | exports[`fixture > transform 1`] = `
|
4 |
| -"import * as __vite_glob_1_0 from "./modules/a.ts";import * as __vite_glob_1_1 from "./modules/b.ts";import * as __vite_glob_1_2 from "./modules/index.ts";import { name as __vite_glob_3_0 } from "./modules/a.ts";import { name as __vite_glob_3_1 } from "./modules/b.ts";import { name as __vite_glob_3_2 } from "./modules/index.ts";import { default as __vite_glob_5_0 } from "./modules/a.ts?raw";import { default as __vite_glob_5_1 } from "./modules/b.ts?raw";import "types/importMeta"; |
| 4 | +"import * as __vite_glob_3_0 from "./modules/a.ts";import * as __vite_glob_3_1 from "./modules/b.ts";import * as __vite_glob_3_2 from "./modules/index.ts";import * as __vite_glob_5_0 from "./modules/a.ts";import * as __vite_glob_5_1 from "./modules/b.ts";import * as __vite_glob_5_2 from "./modules/index.ts";import { name as __vite_glob_9_0 } from "./modules/a.ts";import { name as __vite_glob_9_1 } from "./modules/b.ts";import { name as __vite_glob_9_2 } from "./modules/index.ts";import { name as __vite_glob_11_0 } from "./modules/a.ts";import { name as __vite_glob_11_1 } from "./modules/b.ts";import { name as __vite_glob_11_2 } from "./modules/index.ts";import { default as __vite_glob_15_0 } from "./modules/a.ts?raw";import { default as __vite_glob_15_1 } from "./modules/b.ts?raw";import "types/importMeta"; |
5 | 5 | export const basic = /* #__PURE__ */ Object.assign({"./modules/a.ts": () => import("./modules/a.ts"),"./modules/b.ts": () => import("./modules/b.ts"),"./modules/index.ts": () => import("./modules/index.ts")});
|
6 |
| -export const basicEager = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_1_0,"./modules/b.ts": __vite_glob_1_1,"./modules/index.ts": __vite_glob_1_2 |
| 6 | +export const basicWithObjectKeys = Object.keys({"./modules/a.ts": 0,"./modules/b.ts": 0,"./modules/index.ts": 0}); |
| 7 | +export const basicWithObjectValues = Object.values([() => import("./modules/a.ts"),() => import("./modules/b.ts"),() => import("./modules/index.ts")]); |
| 8 | +export const basicEager = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_3_0,"./modules/b.ts": __vite_glob_3_1,"./modules/index.ts": __vite_glob_3_2 |
7 | 9 |
|
8 | 10 | });
|
| 11 | +export const basicEagerWithObjectKeys = Object.keys( |
| 12 | + {"./modules/a.ts": 0,"./modules/b.ts": 0,"./modules/index.ts": 0 |
| 13 | +
|
| 14 | +} |
| 15 | +); |
| 16 | +export const basicEagerWithObjectValues = Object.values( |
| 17 | + [__vite_glob_5_0,__vite_glob_5_1,__vite_glob_5_2 |
| 18 | +
|
| 19 | +] |
| 20 | +); |
9 | 21 | export const ignore = /* #__PURE__ */ Object.assign({"./modules/a.ts": () => import("./modules/a.ts"),"./modules/b.ts": () => import("./modules/b.ts")});
|
10 |
| -export const namedEager = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_3_0,"./modules/b.ts": __vite_glob_3_1,"./modules/index.ts": __vite_glob_3_2 |
| 22 | +export const ignoreWithObjectKeys = Object.keys( |
| 23 | + {"./modules/a.ts": 0,"./modules/b.ts": 0} |
| 24 | +); |
| 25 | +export const ignoreWithObjectValues = Object.values( |
| 26 | + [() => import("./modules/a.ts"),() => import("./modules/b.ts")] |
| 27 | +); |
| 28 | +export const namedEager = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_9_0,"./modules/b.ts": __vite_glob_9_1,"./modules/index.ts": __vite_glob_9_2 |
11 | 29 |
|
12 | 30 |
|
13 | 31 | });
|
| 32 | +export const namedEagerWithObjectKeys = Object.keys( |
| 33 | + {"./modules/a.ts": 0,"./modules/b.ts": 0,"./modules/index.ts": 0 |
| 34 | +
|
| 35 | +
|
| 36 | +} |
| 37 | +); |
| 38 | +export const namedEagerWithObjectValues = Object.values( |
| 39 | + [__vite_glob_11_0,__vite_glob_11_1,__vite_glob_11_2 |
| 40 | +
|
| 41 | +
|
| 42 | +] |
| 43 | +); |
14 | 44 | export const namedDefault = /* #__PURE__ */ Object.assign({"./modules/a.ts": () => import("./modules/a.ts").then(m => m["default"]),"./modules/b.ts": () => import("./modules/b.ts").then(m => m["default"]),"./modules/index.ts": () => import("./modules/index.ts").then(m => m["default"])
|
15 | 45 |
|
16 | 46 | });
|
17 |
| -export const eagerAs = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_5_0,"./modules/b.ts": __vite_glob_5_1 |
| 47 | +export const namedDefaultWithObjectKeys = Object.keys( |
| 48 | + {"./modules/a.ts": 0,"./modules/b.ts": 0,"./modules/index.ts": 0 |
| 49 | +
|
| 50 | +} |
| 51 | +); |
| 52 | +export const namedDefaultWithObjectValues = Object.values( |
| 53 | + [() => import("./modules/a.ts").then(m => m["default"]),() => import("./modules/b.ts").then(m => m["default"]),() => import("./modules/index.ts").then(m => m["default"]) |
| 54 | +
|
| 55 | +] |
| 56 | +); |
| 57 | +export const eagerAs = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_15_0,"./modules/b.ts": __vite_glob_15_1 |
18 | 58 |
|
19 | 59 |
|
20 | 60 | });
|
@@ -56,20 +96,60 @@ export const cleverCwd2 = /* #__PURE__ */ Object.assign({"./modules/a.ts": () =>
|
56 | 96 | `;
|
57 | 97 |
|
58 | 98 | exports[`fixture > transform with restoreQueryExtension 1`] = `
|
59 |
| -"import * as __vite_glob_1_0 from "./modules/a.ts";import * as __vite_glob_1_1 from "./modules/b.ts";import * as __vite_glob_1_2 from "./modules/index.ts";import { name as __vite_glob_3_0 } from "./modules/a.ts";import { name as __vite_glob_3_1 } from "./modules/b.ts";import { name as __vite_glob_3_2 } from "./modules/index.ts";import { default as __vite_glob_5_0 } from "./modules/a.ts?raw";import { default as __vite_glob_5_1 } from "./modules/b.ts?raw";import "types/importMeta"; |
| 99 | +"import * as __vite_glob_3_0 from "./modules/a.ts";import * as __vite_glob_3_1 from "./modules/b.ts";import * as __vite_glob_3_2 from "./modules/index.ts";import * as __vite_glob_5_0 from "./modules/a.ts";import * as __vite_glob_5_1 from "./modules/b.ts";import * as __vite_glob_5_2 from "./modules/index.ts";import { name as __vite_glob_9_0 } from "./modules/a.ts";import { name as __vite_glob_9_1 } from "./modules/b.ts";import { name as __vite_glob_9_2 } from "./modules/index.ts";import { name as __vite_glob_11_0 } from "./modules/a.ts";import { name as __vite_glob_11_1 } from "./modules/b.ts";import { name as __vite_glob_11_2 } from "./modules/index.ts";import { default as __vite_glob_15_0 } from "./modules/a.ts?raw";import { default as __vite_glob_15_1 } from "./modules/b.ts?raw";import "types/importMeta"; |
60 | 100 | export const basic = /* #__PURE__ */ Object.assign({"./modules/a.ts": () => import("./modules/a.ts"),"./modules/b.ts": () => import("./modules/b.ts"),"./modules/index.ts": () => import("./modules/index.ts")});
|
61 |
| -export const basicEager = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_1_0,"./modules/b.ts": __vite_glob_1_1,"./modules/index.ts": __vite_glob_1_2 |
| 101 | +export const basicWithObjectKeys = Object.keys({"./modules/a.ts": 0,"./modules/b.ts": 0,"./modules/index.ts": 0}); |
| 102 | +export const basicWithObjectValues = Object.values([() => import("./modules/a.ts"),() => import("./modules/b.ts"),() => import("./modules/index.ts")]); |
| 103 | +export const basicEager = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_3_0,"./modules/b.ts": __vite_glob_3_1,"./modules/index.ts": __vite_glob_3_2 |
62 | 104 |
|
63 | 105 | });
|
| 106 | +export const basicEagerWithObjectKeys = Object.keys( |
| 107 | + {"./modules/a.ts": 0,"./modules/b.ts": 0,"./modules/index.ts": 0 |
| 108 | +
|
| 109 | +} |
| 110 | +); |
| 111 | +export const basicEagerWithObjectValues = Object.values( |
| 112 | + [__vite_glob_5_0,__vite_glob_5_1,__vite_glob_5_2 |
| 113 | +
|
| 114 | +] |
| 115 | +); |
64 | 116 | export const ignore = /* #__PURE__ */ Object.assign({"./modules/a.ts": () => import("./modules/a.ts"),"./modules/b.ts": () => import("./modules/b.ts")});
|
65 |
| -export const namedEager = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_3_0,"./modules/b.ts": __vite_glob_3_1,"./modules/index.ts": __vite_glob_3_2 |
| 117 | +export const ignoreWithObjectKeys = Object.keys( |
| 118 | + {"./modules/a.ts": 0,"./modules/b.ts": 0} |
| 119 | +); |
| 120 | +export const ignoreWithObjectValues = Object.values( |
| 121 | + [() => import("./modules/a.ts"),() => import("./modules/b.ts")] |
| 122 | +); |
| 123 | +export const namedEager = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_9_0,"./modules/b.ts": __vite_glob_9_1,"./modules/index.ts": __vite_glob_9_2 |
66 | 124 |
|
67 | 125 |
|
68 | 126 | });
|
| 127 | +export const namedEagerWithObjectKeys = Object.keys( |
| 128 | + {"./modules/a.ts": 0,"./modules/b.ts": 0,"./modules/index.ts": 0 |
| 129 | +
|
| 130 | +
|
| 131 | +} |
| 132 | +); |
| 133 | +export const namedEagerWithObjectValues = Object.values( |
| 134 | + [__vite_glob_11_0,__vite_glob_11_1,__vite_glob_11_2 |
| 135 | +
|
| 136 | +
|
| 137 | +] |
| 138 | +); |
69 | 139 | export const namedDefault = /* #__PURE__ */ Object.assign({"./modules/a.ts": () => import("./modules/a.ts").then(m => m["default"]),"./modules/b.ts": () => import("./modules/b.ts").then(m => m["default"]),"./modules/index.ts": () => import("./modules/index.ts").then(m => m["default"])
|
70 | 140 |
|
71 | 141 | });
|
72 |
| -export const eagerAs = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_5_0,"./modules/b.ts": __vite_glob_5_1 |
| 142 | +export const namedDefaultWithObjectKeys = Object.keys( |
| 143 | + {"./modules/a.ts": 0,"./modules/b.ts": 0,"./modules/index.ts": 0 |
| 144 | +
|
| 145 | +} |
| 146 | +); |
| 147 | +export const namedDefaultWithObjectValues = Object.values( |
| 148 | + [() => import("./modules/a.ts").then(m => m["default"]),() => import("./modules/b.ts").then(m => m["default"]),() => import("./modules/index.ts").then(m => m["default"]) |
| 149 | +
|
| 150 | +] |
| 151 | +); |
| 152 | +export const eagerAs = /* #__PURE__ */ Object.assign({"./modules/a.ts": __vite_glob_15_0,"./modules/b.ts": __vite_glob_15_1 |
73 | 153 |
|
74 | 154 |
|
75 | 155 | });
|
|
0 commit comments