@@ -4,56 +4,6 @@ The actual snapshot is saved in `exports.js.snap`.
44
55Generated by [ AVA] ( https://avajs.dev ) .
66
7- ## 'types' condition should be first
8-
9- > Should sort ` exports ` as object.
10-
11- {
12- input: `{␊
13- "exports": {␊
14- "unknown": "./unknown.unknown",␊
15- "./path-not-really-makes-no-sense": {},␊
16- "types": "./types.d.ts",␊
17- "types@<=1": "./v1/types.d.ts"␊
18- }␊
19- }`,
20- options: undefined,
21- output: `{␊
22- "exports": {␊
23- "./path-not-really-makes-no-sense": {},␊
24- "types": "./types.d.ts",␊
25- "types@<=1": "./v1/types.d.ts",␊
26- "unknown": "./unknown.unknown"␊
27- }␊
28- }`,
29- pretty: true,
30- }
31-
32- ## 'types' condition should be first 2
33-
34- > Should sort ` exports ` as object.
35-
36- {
37- input: `{␊
38- "exports": {␊
39- "unknown": "./unknown.unknown",␊
40- "./path-not-really-makes-no-sense": {},␊
41- "types@<=1": "./v1/types.d.ts",␊
42- "types": "./types.d.ts"␊
43- }␊
44- }`,
45- options: undefined,
46- output: `{␊
47- "exports": {␊
48- "./path-not-really-makes-no-sense": {},␊
49- "types@<=1": "./v1/types.d.ts",␊
50- "types": "./types.d.ts",␊
51- "unknown": "./unknown.unknown"␊
52- }␊
53- }`,
54- pretty: true,
55- }
56-
577## 'default' condition should be last
588
599> Should sort ` exports ` as object.
@@ -77,64 +27,6 @@ Generated by [AVA](https://avajs.dev).
7727 pretty: true,
7828 }
7929
80- ## 'types' condition should be first(deep)
81-
82- > Should sort ` exports ` as object.
83-
84- {
85- input: `{␊
86- "exports": {␊
87- "./deep": {␊
88- "unknown": "./unknown.unknown",␊
89- "./path-not-really-makes-no-sense": {},␊
90- "types": "./types.d.ts",␊
91- "types@<=1": "./v1/types.d.ts"␊
92- }␊
93- }␊
94- }`,
95- options: undefined,
96- output: `{␊
97- "exports": {␊
98- "./deep": {␊
99- "./path-not-really-makes-no-sense": {},␊
100- "types": "./types.d.ts",␊
101- "types@<=1": "./v1/types.d.ts",␊
102- "unknown": "./unknown.unknown"␊
103- }␊
104- }␊
105- }`,
106- pretty: true,
107- }
108-
109- ## 'types' condition should be first(deep) 2
110-
111- > Should sort ` exports ` as object.
112-
113- {
114- input: `{␊
115- "exports": {␊
116- "./deep": {␊
117- "unknown": "./unknown.unknown",␊
118- "./path-not-really-makes-no-sense": {},␊
119- "types@<=1": "./v1/types.d.ts",␊
120- "types": "./types.d.ts"␊
121- }␊
122- }␊
123- }`,
124- options: undefined,
125- output: `{␊
126- "exports": {␊
127- "./deep": {␊
128- "./path-not-really-makes-no-sense": {},␊
129- "types@<=1": "./v1/types.d.ts",␊
130- "types": "./types.d.ts",␊
131- "unknown": "./unknown.unknown"␊
132- }␊
133- }␊
134- }`,
135- pretty: true,
136- }
137-
13830## 'default' condition should be last(deep)
13931
14032> Should sort ` exports ` as object.
0 commit comments