package updates, fix test runs

This commit is contained in:
Matthias Kretschmann 2020-04-03 11:57:15 +02:00
parent 0565b51c39
commit 3cee9748b2
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 4808 additions and 5990 deletions

View File

@ -8,12 +8,16 @@ module.exports = {
'<rootDir>/jest/__mocks__/file-mock.js',
'\\.svg': '<rootDir>/jest/__mocks__/svgr-mock.js'
},
testPathIgnorePatterns: ['node_modules', '.cache', 'public', 'coverage'],
testPathIgnorePatterns: [
'node_modules',
'\\.cache',
'<rootDir>.*/public',
'coverage'
],
transformIgnorePatterns: ['node_modules/(?!(gatsby)/)'],
globals: {
__PATH_PREFIX__: ''
},
testURL: 'http://localhost',
setupFiles: ['<rootDir>/jest/loadershim.js'],
setupFilesAfterEnv: ['<rootDir>/jest/setup-test-env.js']
}

10774
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@
"@loadable/component": "^5.12.0",
"axios": "^0.19.2",
"file-saver": "^2.0.2",
"gatsby": "^2.20.8",
"gatsby": "^2.20.12",
"gatsby-image": "^2.3.1",
"gatsby-plugin-manifest": "^2.3.3",
"gatsby-plugin-matomo": "^0.8.2",
@ -64,23 +64,23 @@
"@react-mock/localstorage": "^0.1.2",
"@svgr/webpack": "^5.3.0",
"@testing-library/jest-dom": "^5.3.0",
"@testing-library/react": "^10.0.1",
"@welldone-software/why-did-you-render": "^4.0.5",
"@testing-library/react": "^10.0.2",
"@welldone-software/why-did-you-render": "^4.0.6",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.2.4",
"babel-jest": "^25.2.6",
"babel-preset-gatsby": "^0.3.1",
"chalk": "^3.0.0",
"chalk": "^4.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-loader": "^3.0.3",
"eslint-loader": "^3.0.4",
"eslint-plugin-graphql": "^3.1.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"eslint-plugin-testing-library": "^3.0.0",
"eslint-plugin-testing-library": "^3.0.2",
"gatsby-plugin-webpack-bundle-analyser-v2": "^1.1.8",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.2.4",
"jest": "^25.2.7",
"jest-canvas-mock": "^2.2.0",
"js-yaml": "^3.13.1",
"ora": "^4.0.3",