Skip to content

Commit dfd1851

Browse files
authored
test: fix typos in test descriptions (#6535)
1 parent 9f4dbe3 commit dfd1851

File tree

6 files changed

+24
-24
lines changed

6 files changed

+24
-24
lines changed

test/express.json.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ describe('express.json()', function () {
539539
this.app = app
540540
})
541541

542-
it('should presist store', function (done) {
542+
it('should persist store', function (done) {
543543
request(this.app)
544544
.post('/')
545545
.set('Content-Type', 'application/json')
@@ -561,7 +561,7 @@ describe('express.json()', function () {
561561
.end(done)
562562
})
563563

564-
it('should presist store when inflated', function (done) {
564+
it('should persist store when inflated', function (done) {
565565
var test = request(this.app).post('/')
566566
test.set('Content-Encoding', 'gzip')
567567
test.set('Content-Type', 'application/json')
@@ -572,7 +572,7 @@ describe('express.json()', function () {
572572
test.end(done)
573573
})
574574

575-
it('should presist store when inflate error', function (done) {
575+
it('should persist store when inflate error', function (done) {
576576
var test = request(this.app).post('/')
577577
test.set('Content-Encoding', 'gzip')
578578
test.set('Content-Type', 'application/json')
@@ -582,7 +582,7 @@ describe('express.json()', function () {
582582
test.end(done)
583583
})
584584

585-
it('should presist store when parse error', function (done) {
585+
it('should persist store when parse error', function (done) {
586586
request(this.app)
587587
.post('/')
588588
.set('Content-Type', 'application/json')
@@ -592,7 +592,7 @@ describe('express.json()', function () {
592592
.end(done)
593593
})
594594

595-
it('should presist store when limit exceeded', function (done) {
595+
it('should persist store when limit exceeded', function (done) {
596596
request(this.app)
597597
.post('/')
598598
.set('Content-Type', 'application/json')

test/express.raw.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ describe('express.raw()', function () {
368368
this.app = app
369369
})
370370

371-
it('should presist store', function (done) {
371+
it('should persist store', function (done) {
372372
request(this.app)
373373
.post('/')
374374
.set('Content-Type', 'application/octet-stream')
@@ -379,7 +379,7 @@ describe('express.raw()', function () {
379379
.end(done)
380380
})
381381

382-
it('should presist store when unmatched content-type', function (done) {
382+
it('should persist store when unmatched content-type', function (done) {
383383
request(this.app)
384384
.post('/')
385385
.set('Content-Type', 'application/fizzbuzz')
@@ -389,7 +389,7 @@ describe('express.raw()', function () {
389389
.end(done)
390390
})
391391

392-
it('should presist store when inflated', function (done) {
392+
it('should persist store when inflated', function (done) {
393393
var test = request(this.app).post('/')
394394
test.set('Content-Encoding', 'gzip')
395395
test.set('Content-Type', 'application/octet-stream')
@@ -400,7 +400,7 @@ describe('express.raw()', function () {
400400
test.end(done)
401401
})
402402

403-
it('should presist store when inflate error', function (done) {
403+
it('should persist store when inflate error', function (done) {
404404
var test = request(this.app).post('/')
405405
test.set('Content-Encoding', 'gzip')
406406
test.set('Content-Type', 'application/octet-stream')
@@ -410,7 +410,7 @@ describe('express.raw()', function () {
410410
test.end(done)
411411
})
412412

413-
it('should presist store when limit exceeded', function (done) {
413+
it('should persist store when limit exceeded', function (done) {
414414
request(this.app)
415415
.post('/')
416416
.set('Content-Type', 'application/octet-stream')

test/express.text.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ describe('express.text()', function () {
397397
this.app = app
398398
})
399399

400-
it('should presist store', function (done) {
400+
it('should persist store', function (done) {
401401
request(this.app)
402402
.post('/')
403403
.set('Content-Type', 'text/plain')
@@ -408,7 +408,7 @@ describe('express.text()', function () {
408408
.end(done)
409409
})
410410

411-
it('should presist store when unmatched content-type', function (done) {
411+
it('should persist store when unmatched content-type', function (done) {
412412
request(this.app)
413413
.post('/')
414414
.set('Content-Type', 'application/fizzbuzz')
@@ -418,7 +418,7 @@ describe('express.text()', function () {
418418
.end(done)
419419
})
420420

421-
it('should presist store when inflated', function (done) {
421+
it('should persist store when inflated', function (done) {
422422
var test = request(this.app).post('/')
423423
test.set('Content-Encoding', 'gzip')
424424
test.set('Content-Type', 'text/plain')
@@ -429,7 +429,7 @@ describe('express.text()', function () {
429429
test.end(done)
430430
})
431431

432-
it('should presist store when inflate error', function (done) {
432+
it('should persist store when inflate error', function (done) {
433433
var test = request(this.app).post('/')
434434
test.set('Content-Encoding', 'gzip')
435435
test.set('Content-Type', 'text/plain')
@@ -439,7 +439,7 @@ describe('express.text()', function () {
439439
test.end(done)
440440
})
441441

442-
it('should presist store when limit exceeded', function (done) {
442+
it('should persist store when limit exceeded', function (done) {
443443
request(this.app)
444444
.post('/')
445445
.set('Content-Type', 'text/plain')

test/express.urlencoded.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ describe('express.urlencoded()', function () {
642642
this.app = app
643643
})
644644

645-
it('should presist store', function (done) {
645+
it('should persist store', function (done) {
646646
request(this.app)
647647
.post('/')
648648
.set('Content-Type', 'application/x-www-form-urlencoded')
@@ -653,7 +653,7 @@ describe('express.urlencoded()', function () {
653653
.end(done)
654654
})
655655

656-
it('should presist store when unmatched content-type', function (done) {
656+
it('should persist store when unmatched content-type', function (done) {
657657
request(this.app)
658658
.post('/')
659659
.set('Content-Type', 'application/fizzbuzz')
@@ -663,7 +663,7 @@ describe('express.urlencoded()', function () {
663663
.end(done)
664664
})
665665

666-
it('should presist store when inflated', function (done) {
666+
it('should persist store when inflated', function (done) {
667667
var test = request(this.app).post('/')
668668
test.set('Content-Encoding', 'gzip')
669669
test.set('Content-Type', 'application/x-www-form-urlencoded')
@@ -674,7 +674,7 @@ describe('express.urlencoded()', function () {
674674
test.end(done)
675675
})
676676

677-
it('should presist store when inflate error', function (done) {
677+
it('should persist store when inflate error', function (done) {
678678
var test = request(this.app).post('/')
679679
test.set('Content-Encoding', 'gzip')
680680
test.set('Content-Type', 'application/x-www-form-urlencoded')
@@ -684,7 +684,7 @@ describe('express.urlencoded()', function () {
684684
test.end(done)
685685
})
686686

687-
it('should presist store when limit exceeded', function (done) {
687+
it('should persist store when limit exceeded', function (done) {
688688
request(this.app)
689689
.post('/')
690690
.set('Content-Type', 'application/x-www-form-urlencoded')

test/res.download.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe('res', function(){
8888
})
8989

9090
describe('async local storage', function () {
91-
it('should presist store', function (done) {
91+
it('should persist store', function (done) {
9292
var app = express()
9393
var cb = after(2, done)
9494
var store = { foo: 'bar' }
@@ -116,7 +116,7 @@ describe('res', function(){
116116
.expect(200, 'tobi', cb)
117117
})
118118

119-
it('should presist store on error', function (done) {
119+
it('should persist store on error', function (done) {
120120
var app = express()
121121
var store = { foo: 'bar' }
122122

test/res.sendFile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ describe('res', function(){
277277
})
278278

279279
describe('async local storage', function () {
280-
it('should presist store', function (done) {
280+
it('should persist store', function (done) {
281281
var app = express()
282282
var cb = after(2, done)
283283
var store = { foo: 'bar' }
@@ -304,7 +304,7 @@ describe('res', function(){
304304
.expect(200, 'tobi', cb)
305305
})
306306

307-
it('should presist store on error', function (done) {
307+
it('should persist store on error', function (done) {
308308
var app = express()
309309
var store = { foo: 'bar' }
310310

0 commit comments

Comments
 (0)