Upgrade jest related libs

This commit is contained in:
Diego Mello 2024-03-27 18:21:55 -03:00
parent 0df0e5672c
commit 298d8906c6
6 changed files with 1825 additions and 1768 deletions

View File

@ -15,7 +15,7 @@ const Render = () => (
);
const TODAY = '2023-04-01T00:00:00.000Z';
jest.useFakeTimers('modern');
jest.useFakeTimers();
jest.setSystemTime(new Date(TODAY));
describe('SupportedVersionsWarning', () => {

View File

@ -124,7 +124,7 @@ jest.mock('../../../app-supportedversions.json', () => ({
]
}));
jest.useFakeTimers('modern');
jest.useFakeTimers();
jest.setSystemTime(new Date(TODAY));
describe('checkSupportedVersions', () => {

View File

@ -124,7 +124,7 @@ jest.mock('../../../app-supportedversions.json', () => ({
]
}));
jest.useFakeTimers('modern');
jest.useFakeTimers();
jest.setSystemTime(new Date(TODAY));
describe('checkSupportedVersions', () => {

View File

@ -171,7 +171,7 @@
"@types/bytebuffer": "^5.0.44",
"@types/ejson": "^2.1.3",
"@types/i18n-js": "^3.8.3",
"@types/jest": "^26.0.24",
"@types/jest": "^29.5.12",
"@types/jsrsasign": "^10.5.8",
"@types/lodash": "^4.14.188",
"@types/react": "^17.0.14",
@ -188,24 +188,24 @@
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"axios": "0.27.2",
"babel-jest": "^28.1.3",
"babel-loader": "8.3.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-transform-remove-console": "^6.9.4",
"codecov": "3.8.3",
"detox": "20.17.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "26.5.3",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.3",
"jest-cli": "^28.1.3",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"jest-expo": "^46.0.1",
"jest-junit": "^15.0.0",
"jest-junit": "^16.0.0",
"metro-react-native-babel-preset": "^0.67.0",
"otp.js": "1.2.0",
"patch-package": "8.0.0",

969
yarn.lock

File diff suppressed because it is too large Load Diff