[AAE-30877] - Updating karma config to use headless so pdfjs should work

This commit is contained in:
VitoAlbano
2025-03-13 23:00:00 +00:00
committed by Wojciech Duda
parent fa6ab70af9
commit 63e766f194
2 changed files with 2 additions and 3 deletions

View File

@@ -203,8 +203,7 @@ jobs:
- uses: ./.github/actions/download-node-modules-and-artifacts
- name: Run unit tests
run: |
node -e "console.log(typeof window !== 'undefined' ? 'window exists' : 'window is undefined')"
/usr/bin/xvfb-run --auto-servernum npx nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}
/usr/bin/xvfb-run --auto-servernum npx nx core:test
lint:
# long timeout required when cache has to be recreated

View File

@@ -441,7 +441,7 @@ fdescribe('Test PdfViewer - Zoom customization', () => {
});
});
describe('Test PdfViewer - User interaction', () => {
fdescribe('Test PdfViewer - User interaction', () => {
let fixtureUrlTestComponent: ComponentFixture<UrlTestComponent>;
let componentUrlTestComponent: UrlTestComponent;
let testingUtils: UnitTestingUtils;