Skip to content

Commit b9eff95

Browse files
pedrrofilipedeschamps
authored andcommitted
chore(tests): fix some typos
1 parent 301d42d commit b9eff95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/unit/cep-promise.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describe('cep-promise (unit)', () => {
147147
})
148148
})
149149

150-
describe('when request returns with error but with an unkown XML schema and then succeed to the failover service', () => {
150+
describe('when request returns with error but with an unknown XML schema and then succeed to the failover service', () => {
151151
it('should fulfill with correct address', () => {
152152
nock('https://apps.correios.com.br')
153153
.post('/SigepMasterJPA/AtendeClienteService/AtendeCliente')
@@ -166,7 +166,7 @@ describe('cep-promise (unit)', () => {
166166
})
167167
})
168168

169-
describe('when its not possible to parse the returning XML and then succeed to the failover service', () => {
169+
describe('when its not possible to parse the returned XML and then succeed to the failover service', () => {
170170
it('should fulfill with correct address', () => {
171171
nock('https://apps.correios.com.br')
172172
.post('/SigepMasterJPA/AtendeClienteService/AtendeCliente')
@@ -204,7 +204,7 @@ describe('cep-promise (unit)', () => {
204204
})
205205
})
206206

207-
describe('when invoked with an inexistend "99999999" CEP', () => {
207+
describe('when invoked with an inexistent "99999999" CEP', () => {
208208
it('should reject with "service_error"', () => {
209209
nock('https://apps.correios.com.br')
210210
.post('/SigepMasterJPA/AtendeClienteService/AtendeCliente')
@@ -279,7 +279,7 @@ describe('cep-promise (unit)', () => {
279279
})
280280
})
281281

282-
describe('when http request has unformated xml and secondary service fails', () => {
282+
describe('when http request has unformatted xml and secondary service fails', () => {
283283
it('should reject with "service_error"', () => {
284284
nock('https://apps.correios.com.br')
285285
.post('/SigepMasterJPA/AtendeClienteService/AtendeCliente')

0 commit comments

Comments
 (0)