Skip to content

Commit f1172cd

Browse files
committed
tests(entry): update snapshots
1 parent 42ae576 commit f1172cd

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

lib/init/transformations/entry/__snapshots__/entry.test.js.snap

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,19 @@ exports[`entry transforms correctly using "entry-0" data 1`] = `
99

1010
exports[`entry transforms correctly using "entry-0" data 2`] = `
1111
"module.exports = {
12-
entry: ['index.js', 'app.js']
12+
entry: \\"index.js\\"
1313
}
1414
"
1515
`;
1616

1717
exports[`entry transforms correctly using "entry-0" data 3`] = `
18+
"module.exports = {
19+
entry: ['index.js', 'app.js']
20+
}
21+
"
22+
`;
23+
24+
exports[`entry transforms correctly using "entry-0" data 4`] = `
1825
"module.exports = {
1926
entry: {
2027
index: 'index.js',
@@ -24,7 +31,7 @@ exports[`entry transforms correctly using "entry-0" data 3`] = `
2431
"
2532
`;
2633

27-
exports[`entry transforms correctly using "entry-0" data 4`] = `
34+
exports[`entry transforms correctly using "entry-0" data 5`] = `
2835
"module.exports = {
2936
entry: {
3037
something,
@@ -35,42 +42,42 @@ exports[`entry transforms correctly using "entry-0" data 4`] = `
3542
"
3643
`;
3744

38-
exports[`entry transforms correctly using "entry-0" data 5`] = `
45+
exports[`entry transforms correctly using "entry-0" data 6`] = `
3946
"module.exports = {
4047
entry: () => 'index.js'
4148
}
4249
"
4350
`;
4451

45-
exports[`entry transforms correctly using "entry-0" data 6`] = `
52+
exports[`entry transforms correctly using "entry-0" data 7`] = `
4653
"module.exports = {
4754
entry: () => new Promise((resolve) => resolve(['./app', './router']))
4855
}
4956
"
5057
`;
5158

52-
exports[`entry transforms correctly using "entry-0" data 7`] = `
59+
exports[`entry transforms correctly using "entry-0" data 8`] = `
5360
"module.exports = {
5461
entry: entryStringVariable
5562
}
5663
"
5764
`;
5865

59-
exports[`entry transforms correctly using "entry-0" data 8`] = `
66+
exports[`entry transforms correctly using "entry-0" data 9`] = `
6067
"module.exports = {
6168
entry: 'index.js'
6269
}
6370
"
6471
`;
6572

66-
exports[`entry transforms correctly using "entry-0" data 9`] = `
73+
exports[`entry transforms correctly using "entry-0" data 10`] = `
6774
"module.exports = {
6875
entry: ['index.js', 'app.js']
6976
}
7077
"
7178
`;
7279

73-
exports[`entry transforms correctly using "entry-0" data 10`] = `
80+
exports[`entry transforms correctly using "entry-0" data 11`] = `
7481
"module.exports = {
7582
entry: {
7683
something,
@@ -81,14 +88,14 @@ exports[`entry transforms correctly using "entry-0" data 10`] = `
8188
"
8289
`;
8390

84-
exports[`entry transforms correctly using "entry-0" data 11`] = `
91+
exports[`entry transforms correctly using "entry-0" data 12`] = `
8592
"module.exports = {
8693
entry: () => new Promise((resolve) => resolve(['./app', './router']))
8794
}
8895
"
8996
`;
9097

91-
exports[`entry transforms correctly using "entry-0" data 12`] = `
98+
exports[`entry transforms correctly using "entry-0" data 13`] = `
9299
"module.exports = {
93100
entry: entryStringVariable
94101
}

0 commit comments

Comments
 (0)