PR-651276; updating packages.

This commit is contained in:
Alejandro Lembke Barrientos 2023-03-06 15:56:24 +00:00
parent 1e671e7f1e
commit 4e1357df9b
3 changed files with 674 additions and 652 deletions

1314
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@aleleba/create-react-ssr", "name": "@aleleba/create-react-ssr",
"version": "3.8.1", "version": "3.8.2",
"description": "Starter Kit of server side render of react", "description": "Starter Kit of server side render of react",
"bin": "./bin/cli.js", "bin": "./bin/cli.js",
"main": "src/server/index", "main": "src/server/index",
@ -73,7 +73,7 @@
"@testing-library/react": "^14.0.0", "@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3", "@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.4.0", "@types/jest": "^29.4.0",
"@types/node": "^18.14.4", "@types/node": "^18.14.6",
"@types/react": "^18.0.28", "@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11", "@types/react-dom": "^18.0.11",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
@ -81,7 +81,7 @@
"@types/webpack-node-externals": "^3.0.0", "@types/webpack-node-externals": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.54.0", "@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0", "@typescript-eslint/parser": "^5.54.0",
"babel-jest": "^29.4.3", "babel-jest": "^29.5.0",
"babel-loader": "^9.1.2", "babel-loader": "^9.1.2",
"clean-webpack-plugin": "^4.0.0", "clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^10.0.0", "compression-webpack-plugin": "^10.0.0",
@ -94,8 +94,8 @@
"eslint-webpack-plugin": "^4.0.0", "eslint-webpack-plugin": "^4.0.0",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"identity-obj-proxy": "^3.0.0", "identity-obj-proxy": "^3.0.0",
"jest": "^29.4.3", "jest": "^29.5.0",
"jest-environment-jsdom": "^29.4.3", "jest-environment-jsdom": "^29.5.0",
"jest-fetch-mock": "^3.0.3", "jest-fetch-mock": "^3.0.3",
"mini-css-extract-plugin": "^2.7.2", "mini-css-extract-plugin": "^2.7.2",
"react-refresh": "^0.14.0", "react-refresh": "^0.14.0",

View File

@ -8,7 +8,7 @@ describe('<App/> Component', () => {
fetchMock.resetMocks(); fetchMock.resetMocks();
}); });
test('Should render root <App /> Component', async () => { it('Should render root <App /> Component', async () => {
fetchMock.mockResponseOnce(JSON.stringify({ fetchMock.mockResponseOnce(JSON.stringify({
//First Data Fetch //First Data Fetch
data: 'data' data: 'data'