From 9f5236686e7348848e798dd74b1b32c69a1e6366 Mon Sep 17 00:00:00 2001 From: mainframev Date: Mon, 23 Dec 2024 21:41:25 +0100 Subject: [PATCH] chore: measure ts bench --- .github/workflows/pr.yml | 5 +++-- .../react-portal-compat/src/PortalCompat.cy.tsx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 91d1fb2e791014..e5c20a2ae3f842 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -71,9 +71,10 @@ jobs: run: | yarn nx format:check --base origin/master - - name: build, test, lint, test-ssr (affected) + - name: type-check run: | - FLUENT_JEST_WORKER=2 yarn nx affected -t build test lint type-check test-ssr test-integration verify-packaging --nxBail + # FLUENT_JEST_WORKER=2 yarn nx affected -t build test lint type-check test-ssr test-integration verify-packaging --nxBail + yarn nx run-many -t build type-check --skip-nx-cache - name: 'Check for unstaged changes' run: | diff --git a/packages/react-components/react-portal-compat/src/PortalCompat.cy.tsx b/packages/react-components/react-portal-compat/src/PortalCompat.cy.tsx index 92f406ed4374b1..5d5526ff8bceab 100644 --- a/packages/react-components/react-portal-compat/src/PortalCompat.cy.tsx +++ b/packages/react-components/react-portal-compat/src/PortalCompat.cy.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { mount as mountBase } from '@cypress/react'; import { FluentProvider } from '@fluentui/react-provider'; import { teamsLightTheme } from '@fluentui/react-theme'; -import { PortalCompatProvider } from '@fluentui/react-portal-compat'; +import { PortalCompatProvider } from './PortalCompatProvider'; import { usePortalCompat } from '@fluentui/react-portal-compat-context'; const mount = (element: JSX.Element) => {