From 1458f796e42d6aacc97d91e8a932fec3e4282a48 Mon Sep 17 00:00:00 2001 From: Florian Bischof Date: Sun, 28 Jan 2024 10:47:33 +0100 Subject: [PATCH] Change running tests on Windows from Chrome to Firefox --- .github/workflows/main.yml | 3 +-- spec/karma.conf.js | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9415f6b8946..8fc33b6940e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -105,9 +105,8 @@ jobs: - browser: Chrome1280x1024 - browser: FirefoxTouch - browser: FirefoxNoTouch - - browser: FirefoxRetina - - browser: Chrome1280x1024 os: windows-latest + - browser: FirefoxRetina - browser: Chrome1280x1024 os: macos-latest - browser: SafariNative diff --git a/spec/karma.conf.js b/spec/karma.conf.js index 6f411a625ce..6a92b33af44 100644 --- a/spec/karma.conf.js +++ b/spec/karma.conf.js @@ -18,7 +18,8 @@ module.exports = function (/** @type {import('karma').Config} */ config) { customContextFile: 'spec/context.html', customDebugFile: 'spec/debug.html', files: [ - {pattern: 'node_modules/**', included: false, served: true}, + {pattern: 'node_modules/ui-event-simulator/**/*.js', included: false, served: true}, + {pattern: 'node_modules/prosthetic-hand/**/*.js', included: false, served: true}, {pattern: 'dist/**/*.js', included: false, served: true}, {pattern: 'dist/**/*.png', included: false, served: true}, {pattern: 'spec/setup.js', type: 'module'},