From b657dac2d5e89464bc7d88f975cd78cab41b725c Mon Sep 17 00:00:00 2001 From: JOASSART Edwin Date: Thu, 25 Apr 2024 21:19:53 +0200 Subject: [PATCH] patch: pretty-bytes to 6.1.1 --- npm-shrinkwrap.json | 16 ++++++++-------- package.json | 2 +- wdio.conf.ts | 4 ++++ 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 10d6afde621..e5a5ea558f2 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -25,7 +25,7 @@ "lodash": "4.17.21", "outdent": "0.8.0", "path-is-inside": "1.0.2", - "pretty-bytes": "5.6.0", + "pretty-bytes": "6.1.1", "react": "17.0.2", "react-dom": "17.0.2", "react-i18next": "13.5.0", @@ -22401,11 +22401,11 @@ } }, "node_modules/pretty-bytes": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", - "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz", + "integrity": "sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==", "engines": { - "node": ">=6" + "node": "^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -43567,9 +43567,9 @@ "dev": true }, "pretty-bytes": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", - "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==" + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz", + "integrity": "sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==" }, "pretty-error": { "version": "4.0.0", diff --git a/package.json b/package.json index 494b9bf68b9..4f4143e2332 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "lodash": "4.17.21", "outdent": "0.8.0", "path-is-inside": "1.0.2", - "pretty-bytes": "5.6.0", + "pretty-bytes": "6.1.1", "react": "17.0.2", "react-dom": "17.0.2", "react-i18next": "13.5.0", diff --git a/wdio.conf.ts b/wdio.conf.ts index 4ef599cf497..4c1e8e47d88 100644 --- a/wdio.conf.ts +++ b/wdio.conf.ts @@ -33,6 +33,7 @@ export const config: Options.Testrunner = { // specs: ['./tests/**/*.spec.ts'], // Patterns to exclude. + // FIXME: Remove the following exclusions once the tests are ported to WDIO exclude: [ 'tests/gui/modules/image-writer.spec.ts', 'tests/gui/os/window-progress.spec.ts', @@ -40,6 +41,9 @@ export const config: Options.Testrunner = { 'tests/gui/models/flash-state.spec.ts', 'tests/gui/models/selection-state.spec.ts', 'tests/gui/models/settings.spec.ts', + 'tests/shared/drive-constraints.spec.ts', + 'tests/shared/messages.spec.ts', + 'tests/gui/modules/progress-status.spec.ts', ], // // ============