File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ describe('options', () => {
49
49
. then ( ( ) => {
50
50
const opts =
51
51
Object . prototype . toString . call ( value ) === '[object Object]' &&
52
- Object . keys ( value ) !== 0
52
+ Object . keys ( value ) . length !== 0
53
53
? value
54
54
: {
55
55
[ propertyName ] : value ,
@@ -58,7 +58,7 @@ describe('options', () => {
58
58
server = new Server ( compiler , opts ) ;
59
59
} )
60
60
. then ( ( ) => {
61
- if ( current <= successCount ) {
61
+ if ( current < successCount ) {
62
62
expect ( true ) . toBeTruthy ( ) ;
63
63
} else {
64
64
expect ( false ) . toBeTruthy ( ) ;
@@ -347,7 +347,7 @@ describe('options', () => {
347
347
require . resolve ( '../lib/servers/SockJSServer' ) ,
348
348
SockJSServer ,
349
349
] ,
350
- failure : [ '' , false ] ,
350
+ failure : [ false ] ,
351
351
} ,
352
352
serverSideRender : {
353
353
success : [ true ] ,
@@ -388,7 +388,7 @@ describe('options', () => {
388
388
'normal' ,
389
389
'verbose' ,
390
390
] ,
391
- failure : [ false , 'whoops!' , null ] ,
391
+ failure : [ 'whoops!' , null ] ,
392
392
} ,
393
393
useLocalIp : {
394
394
success : [ false ] ,
You can’t perform that action at this time.
0 commit comments