Skip to content

Commit 6f8c132

Browse files
committed
test: update snaps"
1 parent 852592a commit 6f8c132

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

test/server/utils/__snapshots__/normalizeOptions.test.js.snap.webpack4

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ exports[`normalizeOptions client host and port should set correct options 1`] =
44
Object {
55
"client": Object {
66
"host": "my.host",
7+
"hotEntry": true,
78
"overlay": true,
89
"path": "/ws",
910
"port": 9000,
@@ -36,6 +37,7 @@ Object {
3637
exports[`normalizeOptions client path should set correct options 1`] = `
3738
Object {
3839
"client": Object {
40+
"hotEntry": true,
3941
"overlay": true,
4042
"path": "/custom/path",
4143
},
@@ -67,6 +69,7 @@ Object {
6769
exports[`normalizeOptions client path without leading/ending slashes should set correct options 1`] = `
6870
Object {
6971
"client": Object {
72+
"hotEntry": true,
7073
"overlay": true,
7174
"path": "/custom/path",
7275
},
@@ -98,6 +101,7 @@ Object {
98101
exports[`normalizeOptions dev is set should set correct options 1`] = `
99102
Object {
100103
"client": Object {
104+
"hotEntry": true,
101105
"overlay": true,
102106
"path": "/ws",
103107
},
@@ -131,6 +135,7 @@ Object {
131135
exports[`normalizeOptions firewall is set should set correct options 1`] = `
132136
Object {
133137
"client": Object {
138+
"hotEntry": true,
134139
"overlay": true,
135140
"path": "/ws",
136141
},
@@ -162,6 +167,7 @@ Object {
162167
exports[`normalizeOptions hot is false should set correct options 1`] = `
163168
Object {
164169
"client": Object {
170+
"hotEntry": false,
165171
"overlay": true,
166172
"path": "/ws",
167173
},
@@ -193,6 +199,7 @@ Object {
193199
exports[`normalizeOptions hot is only should set correct options 1`] = `
194200
Object {
195201
"client": Object {
202+
"hotEntry": "only",
196203
"overlay": true,
197204
"path": "/ws",
198205
},
@@ -224,6 +231,7 @@ Object {
224231
exports[`normalizeOptions hot is true should set correct options 1`] = `
225232
Object {
226233
"client": Object {
234+
"hotEntry": true,
227235
"overlay": true,
228236
"path": "/ws",
229237
},
@@ -255,6 +263,7 @@ Object {
255263
exports[`normalizeOptions liveReload is false should set correct options 1`] = `
256264
Object {
257265
"client": Object {
266+
"hotEntry": true,
258267
"overlay": true,
259268
"path": "/ws",
260269
},
@@ -286,6 +295,7 @@ Object {
286295
exports[`normalizeOptions liveReload is true should set correct options 1`] = `
287296
Object {
288297
"client": Object {
298+
"hotEntry": true,
289299
"overlay": true,
290300
"path": "/ws",
291301
},
@@ -317,6 +327,7 @@ Object {
317327
exports[`normalizeOptions multi compiler watchOptions is set should set correct options 1`] = `
318328
Object {
319329
"client": Object {
330+
"hotEntry": true,
320331
"overlay": true,
321332
"path": "/ws",
322333
},
@@ -350,6 +361,7 @@ Object {
350361
exports[`normalizeOptions no options should set correct options 1`] = `
351362
Object {
352363
"client": Object {
364+
"hotEntry": true,
353365
"overlay": true,
354366
"path": "/ws",
355367
},
@@ -381,6 +393,7 @@ Object {
381393
exports[`normalizeOptions single compiler watchOptions is object should set correct options 1`] = `
382394
Object {
383395
"client": Object {
396+
"hotEntry": true,
384397
"overlay": true,
385398
"path": "/ws",
386399
},
@@ -414,6 +427,7 @@ Object {
414427
exports[`normalizeOptions single compiler watchOptions is object with static watch overriding it should set correct options 1`] = `
415428
Object {
416429
"client": Object {
430+
"hotEntry": true,
417431
"overlay": true,
418432
"path": "/ws",
419433
},
@@ -447,6 +461,7 @@ Object {
447461
exports[`normalizeOptions single compiler watchOptions is object with static watch true should set correct options 1`] = `
448462
Object {
449463
"client": Object {
464+
"hotEntry": true,
450465
"overlay": true,
451466
"path": "/ws",
452467
},
@@ -480,6 +495,7 @@ Object {
480495
exports[`normalizeOptions single compiler watchOptions is object with watch false should set correct options 1`] = `
481496
Object {
482497
"client": Object {
498+
"hotEntry": true,
483499
"overlay": true,
484500
"path": "/ws",
485501
},
@@ -511,6 +527,7 @@ Object {
511527
exports[`normalizeOptions static is an array of static objects should set correct options 1`] = `
512528
Object {
513529
"client": Object {
530+
"hotEntry": true,
514531
"overlay": true,
515532
"path": "/ws",
516533
},
@@ -553,6 +570,7 @@ Object {
553570
exports[`normalizeOptions static is an array of strings and static objects should set correct options 1`] = `
554571
Object {
555572
"client": Object {
573+
"hotEntry": true,
556574
"overlay": true,
557575
"path": "/ws",
558576
},
@@ -595,6 +613,7 @@ Object {
595613
exports[`normalizeOptions static is an array of strings should set correct options 1`] = `
596614
Object {
597615
"client": Object {
616+
"hotEntry": true,
598617
"overlay": true,
599618
"path": "/ws",
600619
},
@@ -637,6 +656,7 @@ Object {
637656
exports[`normalizeOptions static is an object should set correct options 1`] = `
638657
Object {
639658
"client": Object {
659+
"hotEntry": true,
640660
"overlay": true,
641661
"path": "/ws",
642662
},
@@ -668,6 +688,7 @@ Object {
668688
exports[`normalizeOptions static is false should set correct options 1`] = `
669689
Object {
670690
"client": Object {
691+
"hotEntry": true,
671692
"overlay": true,
672693
"path": "/ws",
673694
},
@@ -687,6 +708,7 @@ Object {
687708
exports[`normalizeOptions static is string should set correct options 1`] = `
688709
Object {
689710
"client": Object {
711+
"hotEntry": true,
690712
"overlay": true,
691713
"path": "/ws",
692714
},
@@ -718,6 +740,7 @@ Object {
718740
exports[`normalizeOptions static is true should set correct options 1`] = `
719741
Object {
720742
"client": Object {
743+
"hotEntry": true,
721744
"overlay": true,
722745
"path": "/ws",
723746
},
@@ -749,6 +772,7 @@ Object {
749772
exports[`normalizeOptions static publicPath is a string should set correct options 1`] = `
750773
Object {
751774
"client": Object {
775+
"hotEntry": true,
752776
"overlay": true,
753777
"path": "/ws",
754778
},
@@ -780,6 +804,7 @@ Object {
780804
exports[`normalizeOptions static publicPath is an array should set correct options 1`] = `
781805
Object {
782806
"client": Object {
807+
"hotEntry": true,
783808
"overlay": true,
784809
"path": "/ws",
785810
},
@@ -812,6 +837,7 @@ Object {
812837
exports[`normalizeOptions static serveIndex is an object should set correct options 1`] = `
813838
Object {
814839
"client": Object {
840+
"hotEntry": true,
815841
"overlay": true,
816842
"path": "/ws",
817843
},
@@ -843,6 +869,7 @@ Object {
843869
exports[`normalizeOptions static serveIndex is false should set correct options 1`] = `
844870
Object {
845871
"client": Object {
872+
"hotEntry": true,
846873
"overlay": true,
847874
"path": "/ws",
848875
},
@@ -872,6 +899,7 @@ Object {
872899
exports[`normalizeOptions static serveIndex is true should set correct options 1`] = `
873900
Object {
874901
"client": Object {
902+
"hotEntry": true,
875903
"overlay": true,
876904
"path": "/ws",
877905
},
@@ -903,6 +931,7 @@ Object {
903931
exports[`normalizeOptions static watch is an object should set correct options 1`] = `
904932
Object {
905933
"client": Object {
934+
"hotEntry": true,
906935
"overlay": true,
907936
"path": "/ws",
908937
},
@@ -936,6 +965,7 @@ Object {
936965
exports[`normalizeOptions static watch is false should set correct options 1`] = `
937966
Object {
938967
"client": Object {
968+
"hotEntry": true,
939969
"overlay": true,
940970
"path": "/ws",
941971
},
@@ -967,6 +997,7 @@ Object {
967997
exports[`normalizeOptions static watch is true should set correct options 1`] = `
968998
Object {
969999
"client": Object {
1000+
"hotEntry": true,
9701001
"overlay": true,
9711002
"path": "/ws",
9721003
},
@@ -998,6 +1029,7 @@ Object {
9981029
exports[`normalizeOptions transportMode custom client path should set correct options 1`] = `
9991030
Object {
10001031
"client": Object {
1032+
"hotEntry": true,
10011033
"overlay": true,
10021034
"path": "/ws",
10031035
},
@@ -1029,6 +1061,7 @@ Object {
10291061
exports[`normalizeOptions transportMode custom server class should set correct options 1`] = `
10301062
Object {
10311063
"client": Object {
1064+
"hotEntry": true,
10321065
"overlay": true,
10331066
"path": "/ws",
10341067
},
@@ -1060,6 +1093,7 @@ Object {
10601093
exports[`normalizeOptions transportMode custom server path should set correct options 1`] = `
10611094
Object {
10621095
"client": Object {
1096+
"hotEntry": true,
10631097
"overlay": true,
10641098
"path": "/ws",
10651099
},
@@ -1091,6 +1125,7 @@ Object {
10911125
exports[`normalizeOptions transportMode sockjs string should set correct options 1`] = `
10921126
Object {
10931127
"client": Object {
1128+
"hotEntry": true,
10941129
"overlay": true,
10951130
"path": "/ws",
10961131
},
@@ -1122,6 +1157,7 @@ Object {
11221157
exports[`normalizeOptions transportMode ws object should set correct options 1`] = `
11231158
Object {
11241159
"client": Object {
1160+
"hotEntry": true,
11251161
"overlay": true,
11261162
"path": "/ws",
11271163
},
@@ -1153,6 +1189,7 @@ Object {
11531189
exports[`normalizeOptions transportMode ws string should set correct options 1`] = `
11541190
Object {
11551191
"client": Object {
1192+
"hotEntry": true,
11561193
"overlay": true,
11571194
"path": "/ws",
11581195
},

0 commit comments

Comments
 (0)