chore: fix typos in test by noritaka1166 · Pull Request #6535 · expressjs/express

10 changes: 5 additions & 5 deletions test/express.json.js

Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ describe('express.json()', function () {
this.app = app
})

it('should presist store', function (done) {
it('should persist store', function (done) {
request(this.app)
.post('/')
.set('Content-Type', 'application/json')
Expand All @@ -561,7 +561,7 @@ describe('express.json()', function () {
.end(done)
})

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

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

it('should presist store when parse error', function (done) {
it('should persist store when parse error', function (done) {
request(this.app)
.post('/')
.set('Content-Type', 'application/json')
Expand All @@ -592,7 +592,7 @@ describe('express.json()', function () {
.end(done)
})

it('should presist store when limit exceeded', function (done) {
it('should persist store when limit exceeded', function (done) {
request(this.app)
.post('/')
.set('Content-Type', 'application/json')
Expand Down

10 changes: 5 additions & 5 deletions test/express.raw.js

Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ describe('express.raw()', function () {
this.app = app
})

it('should presist store', function (done) {
it('should persist store', function (done) {
request(this.app)
.post('/')
.set('Content-Type', 'application/octet-stream')
Expand All @@ -379,7 +379,7 @@ describe('express.raw()', function () {
.end(done)
})

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

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

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

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

10 changes: 5 additions & 5 deletions test/express.text.js

Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ describe('express.text()', function () {
this.app = app
})

it('should presist store', function (done) {
it('should persist store', function (done) {
request(this.app)
.post('/')
.set('Content-Type', 'text/plain')
Expand All @@ -408,7 +408,7 @@ describe('express.text()', function () {
.end(done)
})

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

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

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

it('should presist store when limit exceeded', function (done) {
it('should persist store when limit exceeded', function (done) {
request(this.app)
.post('/')
.set('Content-Type', 'text/plain')
Expand Down

10 changes: 5 additions & 5 deletions test/express.urlencoded.js

Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ describe('express.urlencoded()', function () {
this.app = app
})

it('should presist store', function (done) {
it('should persist store', function (done) {
request(this.app)
.post('/')
.set('Content-Type', 'application/x-www-form-urlencoded')
Expand All @@ -653,7 +653,7 @@ describe('express.urlencoded()', function () {
.end(done)
})

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

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

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

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

4 changes: 2 additions & 2 deletions test/res.download.js

Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('res', function(){
})

describe('async local storage', function () {
it('should presist store', function (done) {
it('should persist store', function (done) {
var app = express()
var cb = after(2, done)
var store = { foo: 'bar' }
Expand Down Expand Up @@ -116,7 +116,7 @@ describe('res', function(){
.expect(200, 'tobi', cb)
})

it('should presist store on error', function (done) {
it('should persist store on error', function (done) {
var app = express()
var store = { foo: 'bar' }

Expand Down

4 changes: 2 additions & 2 deletions test/res.sendFile.js

Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ describe('res', function(){
})

describe('async local storage', function () {
it('should presist store', function (done) {
it('should persist store', function (done) {
var app = express()
var cb = after(2, done)
var store = { foo: 'bar' }
Expand All @@ -304,7 +304,7 @@ describe('res', function(){
.expect(200, 'tobi', cb)
})

it('should presist store on error', function (done) {
it('should persist store on error', function (done) {
var app = express()
var store = { foo: 'bar' }

Expand Down