@@ -28,7 +28,7 @@ describe('getDefaultEmulatorHost', () => {
28
28
29
29
context ( 'with no config' , ( ) => {
30
30
it ( 'returns undefined' , ( ) => {
31
- expect ( getDefaultEmulatorHost ( 'firestore' ) ) . to . equal ( undefined ) ;
31
+ expect ( getDefaultEmulatorHost ( 'firestore' ) ) . to . be . undefined ;
32
32
} ) ;
33
33
} ) ;
34
34
@@ -43,7 +43,7 @@ describe('getDefaultEmulatorHost', () => {
43
43
} ) ;
44
44
45
45
it ( 'returns undefined' , ( ) => {
46
- expect ( getDefaultEmulatorHost ( 'firestore' ) ) . to . equal ( undefined ) ;
46
+ expect ( getDefaultEmulatorHost ( 'firestore' ) ) . to . be . undefined ;
47
47
} ) ;
48
48
} ) ;
49
49
@@ -83,9 +83,7 @@ describe('getDefaultEmulatorHostnameAndPort', () => {
83
83
84
84
context ( 'with no config' , ( ) => {
85
85
it ( 'returns undefined' , ( ) => {
86
- expect ( getDefaultEmulatorHostnameAndPort ( 'firestore' ) ) . to . equal (
87
- undefined
88
- ) ;
86
+ expect ( getDefaultEmulatorHostnameAndPort ( 'firestore' ) ) . to . be . undefined ;
89
87
} ) ;
90
88
} ) ;
91
89
@@ -100,9 +98,7 @@ describe('getDefaultEmulatorHostnameAndPort', () => {
100
98
} ) ;
101
99
102
100
it ( 'returns undefined' , ( ) => {
103
- expect ( getDefaultEmulatorHostnameAndPort ( 'firestore' ) ) . to . equal (
104
- undefined
105
- ) ;
101
+ expect ( getDefaultEmulatorHostnameAndPort ( 'firestore' ) ) . to . be . undefined ;
106
102
} ) ;
107
103
} ) ;
108
104
@@ -116,7 +112,7 @@ describe('getDefaultEmulatorHostnameAndPort', () => {
116
112
} ) ;
117
113
118
114
it ( 'returns hostname and port splitted' , ( ) => {
119
- expect ( getDefaultEmulatorHostnameAndPort ( 'firestore' ) ) . to . equal ( [
115
+ expect ( getDefaultEmulatorHostnameAndPort ( 'firestore' ) ) . to . eql ( [
120
116
'127.0.0.1' ,
121
117
8080
122
118
] ) ;
@@ -133,7 +129,7 @@ describe('getDefaultEmulatorHostnameAndPort', () => {
133
129
} ) ;
134
130
135
131
it ( 'returns unquoted hostname and port splitted' , ( ) => {
136
- expect ( getDefaultEmulatorHostnameAndPort ( 'firestore' ) ) . to . equal ( [
132
+ expect ( getDefaultEmulatorHostnameAndPort ( 'firestore' ) ) . to . eql ( [
137
133
'::1' ,
138
134
8080
139
135
] ) ;
0 commit comments