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 fs = require('fs-extra');
const upath = require('upath');
@ -16,6 +14,7 @@ module.exports = {
getArtifacts,
};
// istanbul ignore next
async function getArtifacts(
packageFileName,
updatedDeps,

View file

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

View file

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

View file

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

View file

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

View file

@ -47,7 +47,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (explicit
],
"results": Array [
Object {
"isThrow": false,
"type": "return",
"value": Object {
"headers": Object {
"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 {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {
"token": "some-token ",
@ -64,7 +64,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (explicit
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {
"tags": Array [
@ -75,13 +75,13 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (explicit
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"headers": Object {},
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {},
"headers": Object {},
@ -138,7 +138,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (implicit
],
"results": Array [
Object {
"isThrow": false,
"type": "return",
"value": Object {
"headers": Object {
"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 {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {
"token": "some-token ",
@ -155,7 +155,7 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (implicit
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {
"tags": Array [
@ -166,13 +166,13 @@ exports[`api/docker getPkgReleases adds library/ prefix for Docker Hub (implicit
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"headers": Object {},
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {},
"headers": Object {},
@ -229,7 +229,7 @@ exports[`api/docker getPkgReleases adds no library/ prefix for other registries
],
"results": Array [
Object {
"isThrow": false,
"type": "return",
"value": Object {
"headers": Object {
"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 {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {
"token": "some-token ",
@ -246,7 +246,7 @@ exports[`api/docker getPkgReleases adds no library/ prefix for other registries
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {
"tags": Array [
@ -257,13 +257,13 @@ exports[`api/docker getPkgReleases adds no library/ prefix for other registries
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"headers": Object {},
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {},
"headers": Object {},
@ -299,13 +299,13 @@ exports[`api/docker getPkgReleases uses custom registry in depName 1`] = `
],
"results": Array [
Object {
"isThrow": false,
"type": "return",
"value": Object {
"headers": Object {},
},
},
Object {
"isThrow": false,
"type": "return",
"value": Object {
"body": Object {
"tags": Array [
@ -316,7 +316,7 @@ exports[`api/docker getPkgReleases uses custom registry in depName 1`] = `
},
},
Object {
"isThrow": false,
"type": "return",
"value": undefined,
},
],

1478
yarn.lock

File diff suppressed because it is too large Load diff