Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Krusche committed Sep 2, 2023
1 parent 0c98ba1 commit af1cb2c
Show file tree
Hide file tree
Showing 5 changed files with 638 additions and 1,405 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ module.exports = {
// setupFiles: [],

// A list of paths to modules that run some code to configure or set up the testing framework before each test
setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect', './src/tests/unit/test-utils/setup-test.ts'],
setupFilesAfterEnv: ['./src/tests/unit/test-utils/setup-test.ts'],

// The number of seconds after which a test is considered as slow and reported as such in the results.
// slowTestThreshold: 5,
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,48 +62,48 @@
"redux-saga": "1.2.3",
"redux-thunk": "2.4.2",
"styled-components": "5.3.11",
"tslib": "2.6.0",
"tslib": "2.6.2",
"uuid": "9.0.0"
},
"resolutions": {
"semver": "7.5.4",
"word-wrap": "1.2.3",
"word-wrap": "1.2.5",
"tough-cookie": "4.1.3"
},
"devDependencies": {
"@stylelint/postcss-css-in-js": "0.38.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/jest-dom": "6.1.2",
"@testing-library/react": "14.0.0",
"@types/jest": "29.5.3",
"@types/jest": "29.5.4",
"@types/react": "18.0.27",
"@types/react-color": "3.0.6",
"@types/react-dom": "18.0.10",
"@types/react-redux": "7.1.25",
"@types/react-redux": "7.1.26",
"@types/redux-mock-store": "1.0.3",
"@types/styled-components": "5.1.26",
"@types/uuid": "9.0.2",
"@types/uuid": "9.0.3",
"circular-dependency-plugin": "5.2.2",
"copy-webpack-plugin": "11.0.0",
"css-loader": "6.8.1",
"cypress": "12.17.1",
"cypress-real-events": "1.8.1",
"cypress": "13.1.0",
"cypress-real-events": "1.10.1",
"fork-ts-checker-notifier-webpack-plugin": "7.0.0",
"fork-ts-checker-webpack-plugin": "8.0.0",
"html-webpack-plugin": "5.5.3",
"husky": "8.0.3",
"jest": "29.6.1",
"jest-environment-jsdom": "29.6.1",
"jest-html-reporter": "3.10.1",
"jest": "29.6.4",
"jest-environment-jsdom": "29.6.4",
"jest-html-reporter": "3.10.2",
"jest-styled-components": "7.1.1",
"lint-staged": "13.2.3",
"lint-staged": "14.0.1",
"pinst": "3.0.0",
"postcss": "8.4.26",
"postcss": "8.4.29",
"postcss-syntax": "0.36.2",
"prettier": "3.0.0",
"prettier": "3.0.3",
"redux-mock-store": "1.5.4",
"start-server-and-test": "2.0.0",
"style-loader": "3.3.3",
"stylelint": "15.10.1",
"stylelint": "15.10.3",
"stylelint-config-recommended": "13.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
Expand All @@ -113,8 +113,8 @@
"tslint-config-prettier": "1.18.0",
"tslint-loader": "3.5.4",
"tslint-react": "5.0.0",
"typescript": "5.1.6",
"webpack": "5.88.1",
"typescript": "5.2.2",
"webpack": "5.88.2",
"webpack-cli": "5.1.4",
"webpack-dev-server": "4.15.1",
"webpack-merge": "5.9.0",
Expand Down
1 change: 1 addition & 0 deletions src/tests/unit/test-utils/test-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { Actions } from '../../../main/services/actions';
import { createReduxStore } from '../../../main/components/store/model-store';
import { ILayer } from '../../../main/services/layouter/layer';
import { Point } from '../../../main/utils/geometry/point';
import '@testing-library/jest-dom';

export type DispatchExts = ThunkDispatch<ModelState, void, Actions>;

Expand Down
1 change: 1 addition & 0 deletions src/tests/unit/utils/svg/multiline-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as React from 'react';
import { render } from '@testing-library/react';
import { Multiline } from '../../../../main/utils/svg/multiline';
import { CSSProperties } from 'react';
import '@testing-library/jest-dom';

// override getStringWidth, because it uses by jsdom unsupported SVGElement methods
Multiline.prototype.getStringWidth = (str: string, style?: CSSProperties) => {
Expand Down
Loading

0 comments on commit af1cb2c

Please sign in to comment.