Apply automatic eslint fixes

This commit is contained in:
Daniel García Aubert
2019-10-21 19:07:24 +02:00
parent 593d9e40f6
commit 4d70ac0894
246 changed files with 11782 additions and 11454 deletions
+5 -5
View File
@@ -80,8 +80,8 @@ describe('cache-control header', function () {
}
const cacheControl = res.headers['cache-control'];
const [ , maxAge ] = cacheControl.split(',');
const [ , value ] = maxAge.split('=');
const [, maxAge] = cacheControl.split(',');
const [, value] = maxAge.split('=');
assert.ok(Number(value) <= ttl);
@@ -120,8 +120,8 @@ describe('cache-control header', function () {
}
const cacheControl = res.headers['cache-control'];
const [ , maxAge ] = cacheControl.split(',');
const [ , value ] = maxAge.split('=');
const [, maxAge] = cacheControl.split(',');
const [, value] = maxAge.split('=');
assert.ok(Number(value) <= ttl);
@@ -129,7 +129,7 @@ describe('cache-control header', function () {
});
});
it('tile from a dynamic query which doesn\'t use a table' , function (done) {
it('tile from a dynamic query which doesn\'t use a table', function (done) {
const ttl = ONE_YEAR_IN_SECONDS;
const mapConfig = createMapConfig();