Skip to content

Commit a7c9f34

Browse files
test: entry (#3499)
1 parent 7c7ccf9 commit a7c9f34

File tree

7 files changed

+824
-121
lines changed

7 files changed

+824
-121
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`entry should work with dynamic async entry: console messages 1`] = `
4+
Array [
5+
"[HMR] Waiting for update signal from WDS...",
6+
"Hey.",
7+
"[webpack-dev-server] Hot Module Replacement enabled.",
8+
"[webpack-dev-server] Live Reloading enabled.",
9+
]
10+
`;
11+
12+
exports[`entry should work with dynamic async entry: page errors 1`] = `Array []`;
13+
14+
exports[`entry should work with dynamic entry: console messages 1`] = `
15+
Array [
16+
"[HMR] Waiting for update signal from WDS...",
17+
"Hey.",
18+
"[webpack-dev-server] Hot Module Replacement enabled.",
19+
"[webpack-dev-server] Live Reloading enabled.",
20+
]
21+
`;
22+
23+
exports[`entry should work with dynamic entry: page errors 1`] = `Array []`;
24+
25+
exports[`entry should work with multiple entries #2: console messages 1`] = `
26+
Array [
27+
"[HMR] Waiting for update signal from WDS...",
28+
"Bar.",
29+
"[webpack-dev-server] Hot Module Replacement enabled.",
30+
"[webpack-dev-server] Live Reloading enabled.",
31+
]
32+
`;
33+
34+
exports[`entry should work with multiple entries #2: page errors 1`] = `Array []`;
35+
36+
exports[`entry should work with multiple entries: console messages 1`] = `
37+
Array [
38+
"[HMR] Waiting for update signal from WDS...",
39+
"Hey.",
40+
"[webpack-dev-server] Hot Module Replacement enabled.",
41+
"[webpack-dev-server] Live Reloading enabled.",
42+
]
43+
`;
44+
45+
exports[`entry should work with multiple entries: page errors 1`] = `Array []`;
46+
47+
exports[`entry should work with single array entry: console messages 1`] = `
48+
Array [
49+
"[HMR] Waiting for update signal from WDS...",
50+
"Hey.",
51+
"Bar.",
52+
"[webpack-dev-server] Hot Module Replacement enabled.",
53+
"[webpack-dev-server] Live Reloading enabled.",
54+
]
55+
`;
56+
57+
exports[`entry should work with single array entry: page errors 1`] = `Array []`;
58+
59+
exports[`entry should work with single entry: console messages 1`] = `
60+
Array [
61+
"[HMR] Waiting for update signal from WDS...",
62+
"Hey.",
63+
"[webpack-dev-server] Hot Module Replacement enabled.",
64+
"[webpack-dev-server] Live Reloading enabled.",
65+
]
66+
`;
67+
68+
exports[`entry should work with single entry: page errors 1`] = `Array []`;
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`entry should work with dynamic async entry: console messages 1`] = `
4+
Array [
5+
"[HMR] Waiting for update signal from WDS...",
6+
"Hey.",
7+
"[webpack-dev-server] Hot Module Replacement enabled.",
8+
"[webpack-dev-server] Live Reloading enabled.",
9+
]
10+
`;
11+
12+
exports[`entry should work with dynamic async entry: page errors 1`] = `Array []`;
13+
14+
exports[`entry should work with dynamic entry: console messages 1`] = `
15+
Array [
16+
"[HMR] Waiting for update signal from WDS...",
17+
"Hey.",
18+
"[webpack-dev-server] Hot Module Replacement enabled.",
19+
"[webpack-dev-server] Live Reloading enabled.",
20+
]
21+
`;
22+
23+
exports[`entry should work with dynamic entry: page errors 1`] = `Array []`;
24+
25+
exports[`entry should work with empty: console messages 1`] = `
26+
Array [
27+
"[HMR] Waiting for update signal from WDS...",
28+
"Hey.",
29+
"[webpack-dev-server] Hot Module Replacement enabled.",
30+
"[webpack-dev-server] Live Reloading enabled.",
31+
]
32+
`;
33+
34+
exports[`entry should work with empty: page errors 1`] = `Array []`;
35+
36+
exports[`entry should work with multiple entries #2: console messages 1`] = `
37+
Array [
38+
"[HMR] Waiting for update signal from WDS...",
39+
"Bar.",
40+
"[webpack-dev-server] Hot Module Replacement enabled.",
41+
"[webpack-dev-server] Live Reloading enabled.",
42+
]
43+
`;
44+
45+
exports[`entry should work with multiple entries #2: page errors 1`] = `Array []`;
46+
47+
exports[`entry should work with multiple entries and "dependOn": console messages 1`] = `
48+
Array [
49+
"[HMR] Waiting for update signal from WDS...",
50+
"Bar.",
51+
"[webpack-dev-server] Hot Module Replacement enabled.",
52+
"[webpack-dev-server] Live Reloading enabled.",
53+
"Hey.",
54+
]
55+
`;
56+
57+
exports[`entry should work with multiple entries and "dependOn": page errors 1`] = `Array []`;
58+
59+
exports[`entry should work with multiple entries: console messages 1`] = `
60+
Array [
61+
"[HMR] Waiting for update signal from WDS...",
62+
"Hey.",
63+
"[webpack-dev-server] Hot Module Replacement enabled.",
64+
"[webpack-dev-server] Live Reloading enabled.",
65+
]
66+
`;
67+
68+
exports[`entry should work with multiple entries: page errors 1`] = `Array []`;
69+
70+
exports[`entry should work with object entry: console messages 1`] = `
71+
Array [
72+
"[HMR] Waiting for update signal from WDS...",
73+
"Hey.",
74+
"[webpack-dev-server] Hot Module Replacement enabled.",
75+
"[webpack-dev-server] Live Reloading enabled.",
76+
]
77+
`;
78+
79+
exports[`entry should work with object entry: page errors 1`] = `Array []`;
80+
81+
exports[`entry should work with single array entry: console messages 1`] = `
82+
Array [
83+
"[HMR] Waiting for update signal from WDS...",
84+
"Hey.",
85+
"Bar.",
86+
"[webpack-dev-server] Hot Module Replacement enabled.",
87+
"[webpack-dev-server] Live Reloading enabled.",
88+
]
89+
`;
90+
91+
exports[`entry should work with single array entry: page errors 1`] = `Array []`;
92+
93+
exports[`entry should work with single entry: console messages 1`] = `
94+
Array [
95+
"[HMR] Waiting for update signal from WDS...",
96+
"Hey.",
97+
"[webpack-dev-server] Hot Module Replacement enabled.",
98+
"[webpack-dev-server] Live Reloading enabled.",
99+
]
100+
`;
101+
102+
exports[`entry should work with single entry: page errors 1`] = `Array []`;

0 commit comments

Comments
 (0)