diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 3142e6e6..62721f77 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -16,6 +16,7 @@ jobs: test: uses: kaltura/ovp-pipelines-pub/.github/workflows/player_tests.yaml@master with: + run-on-macos: true node-version: '20.x' yarn-run-to-execute: 'test' type-check: diff --git a/karma.conf.js b/karma.conf.js index a71e2426..459b881e 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -22,7 +22,7 @@ module.exports = function (config) { webpack: webpackConfig, port: 9876, colors: true, - logLevel: config.LOG_INFO, + logLevel: config.LOG_DEBUG, autoWatch: false, customLaunchers: { ChromeHeadlessWithFlags: { @@ -30,7 +30,7 @@ module.exports = function (config) { flags: ['--no-sandbox', '--autoplay-policy=no-user-gesture-required', '--mute-audio', '--max-web-media-player-count=1000'] } }, - browsers: ['ChromeHeadlessWithFlags'], + browsers: ['ChromeHeadlessWithFlags', 'Safari', 'FirefoxHeadless'], singleRun: true, concurrency: Infinity, diff --git a/package.json b/package.json index 13d1f6b2..517578ea 100644 --- a/package.json +++ b/package.json @@ -38,19 +38,19 @@ "prettier:fix": "prettier --write ." }, "devDependencies": { - "@microsoft/api-extractor": "^7.38.0", "@babel/cli": "^7.10.1", "@babel/core": "^7.21.8", - "@babel/preset-typescript": "^7.22.15", - "typescript": "^5.2.2", "@babel/plugin-transform-runtime": "^7.22.15", "@babel/preset-env": "^7.21.5", + "@babel/preset-typescript": "^7.22.15", + "@microsoft/api-extractor": "^7.38.0", + "@playkit-js/browserslist-config": "^1.0.5", + "@typescript-eslint/eslint-plugin": "^6.7.2", + "@typescript-eslint/parser": "^6.7.2", "babel-eslint": "^10.1.0", "babel-loader": "^9.1.2", "chai": "^4.2.0", "eslint": "8.22.0", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", "eslint-config-prettier": "^6.11.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-mocha-no-only": "^1.1.0", @@ -60,8 +60,7 @@ "karma-chrome-launcher": "^3.1.0", "karma-cli": "^2.0.0", "karma-coverage": "^2.0.2", - "karma-firefox-launcher": "^1.3.0", - "karma-ie-launcher": "^1.0.0", + "karma-firefox-launcher": "^2.1.2", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-safari-launcher": "^1.0.0", @@ -74,10 +73,10 @@ "sinon": "^9.0.2", "sinon-chai": "^3.5.0", "standard-version": "^6.0.1", + "typescript": "^5.2.2", "webpack": "^5.83.1", "webpack-cli": "^5.1.1", - "webpack-dev-server": "^4.15.0", - "@playkit-js/browserslist-config": "^1.0.5" + "webpack-dev-server": "^4.15.0" }, "browserslist": [ "extends @playkit-js/browserslist-config" diff --git a/yarn.lock b/yarn.lock index 1d072df3..c94566db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4261,7 +4261,7 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" -is-wsl@^2.1.0, is-wsl@^2.2.0: +is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== @@ -4478,19 +4478,13 @@ karma-coverage@^2.0.2: istanbul-reports "^3.0.5" minimatch "^3.0.4" -karma-firefox-launcher@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/karma-firefox-launcher/-/karma-firefox-launcher-1.3.0.tgz#ebcbb1d1ddfada6be900eb8fae25bcf2dcdc8171" - integrity sha512-Fi7xPhwrRgr+94BnHX0F5dCl1miIW4RHnzjIGxF8GaIEp7rNqX7LSi7ok63VXs3PS/5MQaQMhGxw+bvD+pibBQ== - dependencies: - is-wsl "^2.1.0" - -karma-ie-launcher@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/karma-ie-launcher/-/karma-ie-launcher-1.0.0.tgz#497986842c490190346cd89f5494ca9830c6d59c" - integrity sha512-ts71ke8pHvw6qdRtq0+7VY3ANLoZuUNNkA8abRaWV13QRPNm7TtSOqyszjHUtuwOWKcsSz4tbUtrNICrQC+SXQ== +karma-firefox-launcher@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/karma-firefox-launcher/-/karma-firefox-launcher-2.1.2.tgz#9a38cc783c579a50f3ed2a82b7386186385cfc2d" + integrity sha512-VV9xDQU1QIboTrjtGVD4NCfzIH7n01ZXqy/qpBhnOeGVOkG5JYPEm8kuSd7psHE6WouZaQ9Ool92g8LFweSNMA== dependencies: - lodash "^4.6.1" + is-wsl "^2.2.0" + which "^2.0.1" karma-mocha-reporter@^2.2.5: version "2.2.5" @@ -4707,7 +4701,7 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash@^4.17.15, lodash@^4.17.21, lodash@^4.2.1, lodash@^4.6.1, lodash@~4.17.15: +lodash@^4.17.15, lodash@^4.17.21, lodash@^4.2.1, lodash@~4.17.15: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==