File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
packages/cli/templates/react/igr-ts/projects/_base/files Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1919 continueOnError : true
2020 - script : npm run build
2121 displayName : ' Build the project'
22+ - script : npx playwright install chromium-headless-shell
23+ displayName : ' Install Playwright browsers'
2224 - script : npm run test
2325 displayName : ' Run tests'
26+ env :
27+ CI : ' true'
Original file line number Diff line number Diff line change 2929 - run : npm i # replace with 'npm ci' after committing lock file from first install
3030# - run: npm run lint
3131 - run : npm run build
32+ - name : Install Playwright browsers
33+ run : npx playwright install chromium-headless-shell
3234 - run : npm run test
3335
36+ env :
37+ CI : ' true'
38+
Original file line number Diff line number Diff line change 1- import '@testing-library/jest-dom'
21import 'vitest-canvas-mock'
32import ResizeObserver from 'resize-observer-polyfill'
43import { vi } from 'vitest'
54
6- global . ResizeObserver = ResizeObserver ;
5+ globalThis . ResizeObserver = ResizeObserver ;
76
87HTMLElement . prototype . scrollIntoView = vi . fn ( ) ;
98HTMLElement . prototype . hidePopover = vi . fn ( ) ;
109HTMLElement . prototype . showPopover = vi . fn ( ) ;
11- HTMLElement . prototype . togglePopover = vi . fn ( ) ;
10+ HTMLElement . prototype . togglePopover = vi . fn ( ) ;
You can’t perform that action at this time.
0 commit comments