From a168e96382f9c12f9b82608ffa77a5979661786d Mon Sep 17 00:00:00 2001 From: Gavin Barron Date: Mon, 13 Nov 2023 17:35:40 -0800 Subject: [PATCH] chore: bump heap size for chat test app deployment (#2854) --- .github/workflows/pr-chat.yml | 3 +++ .../src/components/mgt-person/mgt-person.tests.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-chat.yml b/.github/workflows/pr-chat.yml index 816f70abb5..befa795aa1 100644 --- a/.github/workflows/pr-chat.yml +++ b/.github/workflows/pr-chat.yml @@ -10,6 +10,9 @@ on: jobs: react-contoso: runs-on: ubuntu-latest + # increase node heap size to ensure that the build can succeed + env: + NODE_OPTIONS: '--max_old_space_size=9182' strategy: matrix: diff --git a/packages/mgt-components/src/components/mgt-person/mgt-person.tests.ts b/packages/mgt-components/src/components/mgt-person/mgt-person.tests.ts index 08b0131028..35d807338e 100644 --- a/packages/mgt-components/src/components/mgt-person/mgt-person.tests.ts +++ b/packages/mgt-components/src/components/mgt-person/mgt-person.tests.ts @@ -70,7 +70,7 @@ describe('mgt-person - tests', () => { await waitUntil( () => person.shadowRoot.querySelector('div[data-testid="flyout-slot"]'), 'mgt-person failed to render flyout', - { interval: 500, timeout: 10000 } + { interval: 500, timeout: 15000 } ); const flyout = person.shadowRoot.querySelector('div[data-testid="flyout-slot"]'); await expect(flyout).dom.to.be.equal(`