igniteui-cli 14.6.4 → 14.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-cli",
3
- "version": "14.6.4",
3
+ "version": "14.6.5",
4
4
  "description": "CLI tool for creating Ignite UI projects",
5
5
  "keywords": [
6
6
  "CLI",
@@ -70,8 +70,8 @@
70
70
  "all": true
71
71
  },
72
72
  "dependencies": {
73
- "@igniteui/angular-templates": "~20.1.1464",
74
- "@igniteui/cli-core": "~14.6.4",
73
+ "@igniteui/angular-templates": "~20.1.1465",
74
+ "@igniteui/cli-core": "~14.6.5",
75
75
  "@inquirer/prompts": "^5.4.0",
76
76
  "@types/yargs": "^17.0.33",
77
77
  "chalk": "^5.3.0",
@@ -19,5 +19,9 @@ steps:
19
19
  continueOnError: true
20
20
  - script: npm run build
21
21
  displayName: 'Build the project'
22
+ - script: npx playwright install chromium-headless-shell
23
+ displayName: 'Install Playwright browsers'
22
24
  - script: npm run test
23
25
  displayName: 'Run tests'
26
+ env:
27
+ CI: 'true'
@@ -29,5 +29,8 @@ jobs:
29
29
  - run: npm i # replace with 'npm ci' after committing lock file from first install
30
30
  # - run: npm run lint
31
31
  - run: npm run build
32
+ - name: Install Playwright browsers
33
+ run: npx playwright install chromium-headless-shell
32
34
  - run: npm run test
33
-
35
+ env:
36
+ CI: 'true'
@@ -1,11 +1,10 @@
1
- import '@testing-library/jest-dom'
2
1
  import 'vitest-canvas-mock'
3
2
  import ResizeObserver from 'resize-observer-polyfill'
4
3
  import {vi} from 'vitest'
5
4
 
6
- global.ResizeObserver = ResizeObserver;
5
+ globalThis.ResizeObserver = ResizeObserver;
7
6
 
8
7
  HTMLElement.prototype.scrollIntoView = vi.fn();
9
8
  HTMLElement.prototype.hidePopover = vi.fn();
10
9
  HTMLElement.prototype.showPopover = vi.fn();
11
- HTMLElement.prototype.togglePopover = vi.fn();
10
+ HTMLElement.prototype.togglePopover = vi.fn();