chore(deps): update dependency jest to v24 (#3316)

This commit is contained in:
renovate[bot] 2019-03-07 12:38:59 +01:00 committed by Rhys Arkins
parent f79e71d56f
commit 3a7afd768f
7 changed files with 583 additions and 952 deletions

View file

@ -1,5 +1,3 @@
/* istanbul ignore file */
const { exec } = require('child-process-promise'); const { exec } = require('child-process-promise');
const fs = require('fs-extra'); const fs = require('fs-extra');
const upath = require('upath'); const upath = require('upath');
@ -16,6 +14,7 @@ module.exports = {
getArtifacts, getArtifacts,
}; };
// istanbul ignore next
async function getArtifacts( async function getArtifacts(
packageFileName, packageFileName,
updatedDeps, updatedDeps,

View file

@ -1,5 +1,3 @@
/* istanbul ignore file */
const got = require('got'); const got = require('got');
const URL = require('url'); const URL = require('url');
const hostRules = require('../../util/host-rules'); const hostRules = require('../../util/host-rules');

View file

@ -1,4 +1,3 @@
/* istanbul ignore file */
/* eslint-disable no-param-reassign */ /* eslint-disable no-param-reassign */
const urlParse = require('url').parse; const urlParse = require('url').parse;

View file

@ -1,5 +1,3 @@
/* istanbul ignore file */
const { const {
isVersion, isVersion,
tokenize, tokenize,

View file

@ -142,7 +142,7 @@
"yarn": "1.13.0" "yarn": "1.13.0"
}, },
"devDependencies": { "devDependencies": {
"babel-plugin-transform-object-rest-spread": "6.26.0", "babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
"chai": "4.2.0", "chai": "4.2.0",
"codecov": "3.2.0", "codecov": "3.2.0",
"cross-env": "5.2.0", "cross-env": "5.2.0",
@ -152,7 +152,7 @@
"eslint-plugin-import": "2.16.0", "eslint-plugin-import": "2.16.0",
"eslint-plugin-promise": "4.0.1", "eslint-plugin-promise": "4.0.1",
"husky": "1.3.1", "husky": "1.3.1",
"jest": "23.6.0", "jest": "24.1.0",
"jest-silent-reporter": "0.1.2", "jest-silent-reporter": "0.1.2",
"mockdate": "2.0.2", "mockdate": "2.0.2",
"nock": "10.0.6", "nock": "10.0.6",
@ -179,7 +179,10 @@
"coverageDirectory": "./coverage", "coverageDirectory": "./coverage",
"collectCoverage": true, "collectCoverage": true,
"collectCoverageFrom": [ "collectCoverageFrom": [
"lib/**/*.js" "lib/**/*.js",
"!lib/platform/bitbucket-server/bb-got-wrapper.js",
"!lib/versioning/maven/index.js",
"!lib/proxy.js"
], ],
"coverageReporters": [ "coverageReporters": [
"html", "html",
@ -190,7 +193,9 @@
"setupFiles": [ "setupFiles": [
"./test/globals.js" "./test/globals.js"
], ],
"setupTestFrameworkScriptFile": "./test/chai.js", "setupFilesAfterEnv": [
"./test/chai.js"
],
"snapshotSerializers": [ "snapshotSerializers": [
"./test/newline-snapshot-serializer.js" "./test/newline-snapshot-serializer.js"
] ]

View file

@ -47,7 +47,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (explicit
], ],
"results": Array [ "results": Array [
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"headers": Object { "headers": Object {
"www-authenticate": "Bearer realm=\\"https://auth.docker.io/token\\",service=\\"registry.docker.io\\",scope=\\"repository:library/node:pull \\"", "www-authenticate": "Bearer realm=\\"https://auth.docker.io/token\\",service=\\"registry.docker.io\\",scope=\\"repository:library/node:pull \\"",
@ -55,7 +55,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (explicit
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object { "body": Object {
"token": "some-token ", "token": "some-token ",
@ -64,7 +64,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (explicit
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object { "body": Object {
"tags": Array [ "tags": Array [
@ -75,13 +75,13 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (explicit
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"headers": Object {}, "headers": Object {},
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object {}, "body": Object {},
"headers": Object {}, "headers": Object {},
@ -138,7 +138,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (implicit
], ],
"results": Array [ "results": Array [
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"headers": Object { "headers": Object {
"www-authenticate": "Bearer realm=\\"https://auth.docker.io/token\\",service=\\"registry.docker.io\\",scope=\\"repository:library/node:pull \\"", "www-authenticate": "Bearer realm=\\"https://auth.docker.io/token\\",service=\\"registry.docker.io\\",scope=\\"repository:library/node:pull \\"",
@ -146,7 +146,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (implicit
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object { "body": Object {
"token": "some-token ", "token": "some-token ",
@ -155,7 +155,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (implicit
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object { "body": Object {
"tags": Array [ "tags": Array [
@ -166,13 +166,13 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (implicit
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"headers": Object {}, "headers": Object {},
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object {}, "body": Object {},
"headers": Object {}, "headers": Object {},
@ -229,7 +229,7 @@ exports[`api/docker getPkgReleases adds no library/ prefix for other registries
], ],
"results": Array [ "results": Array [
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"headers": Object { "headers": Object {
"www-authenticate": "Bearer realm=\\"https://k8s.gcr.io/v2/token\\",service=\\"k8s.gcr.io\\"", "www-authenticate": "Bearer realm=\\"https://k8s.gcr.io/v2/token\\",service=\\"k8s.gcr.io\\"",
@ -237,7 +237,7 @@ exports[`api/docker getPkgReleases adds no library/ prefix for other registries
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object { "body": Object {
"token": "some-token ", "token": "some-token ",
@ -246,7 +246,7 @@ exports[`api/docker getPkgReleases adds no library/ prefix for other registries
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object { "body": Object {
"tags": Array [ "tags": Array [
@ -257,13 +257,13 @@ exports[`api/docker getPkgReleases adds no library/ prefix for other registries
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"headers": Object {}, "headers": Object {},
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object {}, "body": Object {},
"headers": Object {}, "headers": Object {},
@ -299,13 +299,13 @@ exports[`api/docker getPkgReleases uses custom registry in depName 1`] = `
], ],
"results": Array [ "results": Array [
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"headers": Object {}, "headers": Object {},
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": Object { "value": Object {
"body": Object { "body": Object {
"tags": Array [ "tags": Array [
@ -316,7 +316,7 @@ exports[`api/docker getPkgReleases uses custom registry in depName 1`] = `
}, },
}, },
Object { Object {
"isThrow": false, "type": "return",
"value": undefined, "value": undefined,
}, },
], ],

1478
yarn.lock

File diff suppressed because it is too large Load diff