Skip to content

Commit

Permalink
tests: use strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Feb 9, 2022
1 parent a39e409 commit a659137
Show file tree
Hide file tree
Showing 75 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/Route.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after');
var should = require('should');
Expand Down
1 change: 1 addition & 0 deletions test/Router.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after');
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/app.all.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after')
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/app.del.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/app.engine.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/app.head.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../');
var request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('..')
Expand Down
1 change: 1 addition & 0 deletions test/app.listen.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')

Expand Down
1 change: 1 addition & 0 deletions test/app.locals.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/app.options.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/app.param.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/app.render.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('..');
Expand Down
1 change: 1 addition & 0 deletions test/app.request.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after')
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/app.response.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after')
var express = require('../')
Expand Down
2 changes: 2 additions & 0 deletions test/app.route.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

var express = require('../');
var request = require('supertest');

Expand Down
1 change: 1 addition & 0 deletions test/app.router.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after');
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/app.routes.error.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/app.use.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after');
var assert = require('assert')
Expand Down
1 change: 1 addition & 0 deletions test/config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert');
var express = require('..');
Expand Down
1 change: 1 addition & 0 deletions test/exports.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('../');
Expand Down
1 change: 1 addition & 0 deletions test/express.json.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var Buffer = require('safe-buffer').Buffer
Expand Down
1 change: 1 addition & 0 deletions test/express.raw.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var Buffer = require('safe-buffer').Buffer
Expand Down
1 change: 1 addition & 0 deletions test/express.static.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var Buffer = require('safe-buffer').Buffer
Expand Down
1 change: 1 addition & 0 deletions test/express.text.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var Buffer = require('safe-buffer').Buffer
Expand Down
1 change: 1 addition & 0 deletions test/express.urlencoded.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var Buffer = require('safe-buffer').Buffer
Expand Down
1 change: 1 addition & 0 deletions test/middleware.basic.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('../');
Expand Down
1 change: 1 addition & 0 deletions test/regression.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.accepts.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.acceptsCharset.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.acceptsCharsets.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.acceptsEncoding.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.acceptsEncodings.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.acceptsLanguage.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.acceptsLanguages.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.baseUrl.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..')
var request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/req.fresh.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.get.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/req.host.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/req.hostname.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/req.ip.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.ips.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.is.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..')
var request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/req.param.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/req.path.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.protocol.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.query.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/req.range.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..');
var request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/req.route.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.secure.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.signedCookies.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/req.stale.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.subdomains.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/req.xhr.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/res.append.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..')
var request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/res.attachment.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var Buffer = require('safe-buffer').Buffer
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/res.clearCookie.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/res.cookie.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/res.download.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after');
var assert = require('assert');
Expand Down
1 change: 1 addition & 0 deletions test/res.format.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after')
var express = require('../')
Expand Down
1 change: 1 addition & 0 deletions test/res.get.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..');
var request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/res.json.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/res.jsonp.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/res.links.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..');
var request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/res.locals.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/res.location.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/res.redirect.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var express = require('..');
Expand Down
1 change: 1 addition & 0 deletions test/res.render.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..');
var path = require('path')
Expand Down
1 change: 1 addition & 0 deletions test/res.send.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert')
var Buffer = require('safe-buffer').Buffer
Expand Down
1 change: 1 addition & 0 deletions test/res.sendFile.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var after = require('after');
var Buffer = require('safe-buffer').Buffer
Expand Down
1 change: 1 addition & 0 deletions test/res.sendStatus.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..')
var request = require('supertest')
Expand Down
1 change: 1 addition & 0 deletions test/res.set.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..');
var request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/res.status.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/res.type.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('../')
, request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/res.vary.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var express = require('..');
var request = require('supertest');
Expand Down
1 change: 1 addition & 0 deletions test/utils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use strict'

var assert = require('assert');
var Buffer = require('safe-buffer').Buffer
Expand Down

0 comments on commit a659137

Please sign in to comment.