From cf89793dd7193a175942bceb3e5e1cec8a338c28 Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Tue, 3 Dec 2024 17:52:57 +0000 Subject: [PATCH] add --disable-gpu to testem.js for chrome --- packages/util/testem.js | 1 + test-packages/sample-transforms/testem.js | 1 + tests/addon-template/testem.js | 1 + tests/app-template/testem.js | 1 + tests/ts-app-template-classic/testem.js | 1 + tests/ts-app-template/testem.js | 1 + 6 files changed, 6 insertions(+) diff --git a/packages/util/testem.js b/packages/util/testem.js index 291e8842f..36c3fadfd 100644 --- a/packages/util/testem.js +++ b/packages/util/testem.js @@ -9,6 +9,7 @@ module.exports = { ci: [ // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, + '--disable-gpu', '--headless', '--disable-dev-shm-usage', '--disable-software-rasterizer', diff --git a/test-packages/sample-transforms/testem.js b/test-packages/sample-transforms/testem.js index 291e8842f..36c3fadfd 100644 --- a/test-packages/sample-transforms/testem.js +++ b/test-packages/sample-transforms/testem.js @@ -9,6 +9,7 @@ module.exports = { ci: [ // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, + '--disable-gpu', '--headless', '--disable-dev-shm-usage', '--disable-software-rasterizer', diff --git a/tests/addon-template/testem.js b/tests/addon-template/testem.js index ed2f37124..17afecbdf 100644 --- a/tests/addon-template/testem.js +++ b/tests/addon-template/testem.js @@ -11,6 +11,7 @@ module.exports = { ci: [ // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, + '--disable-gpu', '--headless', '--disable-dev-shm-usage', '--disable-software-rasterizer', diff --git a/tests/app-template/testem.js b/tests/app-template/testem.js index b4b6691fd..8fe868923 100644 --- a/tests/app-template/testem.js +++ b/tests/app-template/testem.js @@ -12,6 +12,7 @@ if (typeof module !== 'undefined') { ci: [ // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, + '--disable-gpu', '--headless', '--disable-dev-shm-usage', '--disable-software-rasterizer', diff --git a/tests/ts-app-template-classic/testem.js b/tests/ts-app-template-classic/testem.js index ed2f37124..17afecbdf 100644 --- a/tests/ts-app-template-classic/testem.js +++ b/tests/ts-app-template-classic/testem.js @@ -11,6 +11,7 @@ module.exports = { ci: [ // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, + '--disable-gpu', '--headless', '--disable-dev-shm-usage', '--disable-software-rasterizer', diff --git a/tests/ts-app-template/testem.js b/tests/ts-app-template/testem.js index b4b6691fd..8fe868923 100644 --- a/tests/ts-app-template/testem.js +++ b/tests/ts-app-template/testem.js @@ -12,6 +12,7 @@ if (typeof module !== 'undefined') { ci: [ // --no-sandbox is needed when running Chrome inside a container process.env.CI ? '--no-sandbox' : null, + '--disable-gpu', '--headless', '--disable-dev-shm-usage', '--disable-software-rasterizer',