igniteui-cli 14.8.5-beta.2 → 14.8.5-beta.3
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 +3 -3
- package/templates/react/igr-ts/bullet-graph/default/files/src/app/__path__/__filePrefix__.test.tsx +1 -6
- package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +1 -6
- package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +1 -6
- package/templates/react/igr-ts/financial-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +1 -6
- package/templates/react/igr-ts/grid/basic/files/src/app/__path__/__filePrefix__.test.tsx +1 -6
- package/templates/react/igr-ts/linear-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx +1 -6
- package/templates/react/igr-ts/pie-chart/default/files/src/app/__path__/__filePrefix__.test.tsx +1 -6
- package/templates/react/igr-ts/projects/_base/files/src/app/app.test.tsx +1 -6
- package/templates/react/igr-ts/projects/_base/files/src/setupTests.ts +7 -9
- package/templates/react/igr-ts/projects/_base/files/vite.config.ts +2 -1
- package/templates/react/igr-ts/projects/top-nav/files/src/app/app.test.tsx +4 -9
- package/templates/react/igr-ts/radial-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx +1 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-cli",
|
|
3
|
-
"version": "14.8.5-beta.
|
|
3
|
+
"version": "14.8.5-beta.3",
|
|
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": "~21.0.1485-beta.
|
|
74
|
-
"@igniteui/cli-core": "~14.8.5-beta.
|
|
73
|
+
"@igniteui/angular-templates": "~21.0.1485-beta.3",
|
|
74
|
+
"@igniteui/cli-core": "~14.8.5-beta.3",
|
|
75
75
|
"@inquirer/prompts": "^7.9.0",
|
|
76
76
|
"@types/yargs": "^17.0.33",
|
|
77
77
|
"chalk": "^5.3.0",
|
package/templates/react/igr-ts/bullet-graph/default/files/src/app/__path__/__filePrefix__.test.tsx
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import $(ClassName) from './$(path)';
|
|
4
|
-
import { setupTestMocks } from '../../setupTests';
|
|
5
|
-
|
|
6
|
-
beforeAll(() => {
|
|
7
|
-
setupTestMocks();
|
|
8
|
-
})
|
|
9
4
|
|
|
10
5
|
test('renders $(ClassName) component', () => {
|
|
11
6
|
const wrapper = render(<$(ClassName) />);
|
package/templates/react/igr-ts/category-chart/default/files/src/app/__path__/__filePrefix__.test.tsx
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import $(ClassName) from './$(path)';
|
|
4
|
-
import { setupTestMocks } from '../../setupTests';
|
|
5
|
-
|
|
6
|
-
beforeAll(() => {
|
|
7
|
-
setupTestMocks();
|
|
8
|
-
})
|
|
9
4
|
|
|
10
5
|
test('renders $(ClassName) component', () => {
|
|
11
6
|
const wrapper = render(<$(ClassName) />);
|
package/templates/react/igr-ts/doughnut-chart/default/files/src/app/__path__/__filePrefix__.test.tsx
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import $(ClassName) from './$(path)';
|
|
4
|
-
import { setupTestMocks } from '../../setupTests';
|
|
5
|
-
|
|
6
|
-
beforeAll(() => {
|
|
7
|
-
setupTestMocks();
|
|
8
|
-
})
|
|
9
4
|
|
|
10
5
|
test('renders $(ClassName) component', () => {
|
|
11
6
|
const wrapper = render(<$(ClassName) />);
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import $(ClassName) from './$(path)';
|
|
4
|
-
import { setupTestMocks } from '../../setupTests';
|
|
5
|
-
|
|
6
|
-
beforeAll(() => {
|
|
7
|
-
setupTestMocks();
|
|
8
|
-
})
|
|
9
4
|
|
|
10
5
|
test('renders $(ClassName) component', () => {
|
|
11
6
|
const wrapper = render(<$(ClassName) />);
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import $(ClassName) from './$(path)';
|
|
4
|
-
import { setupTestMocks } from '../../setupTests';
|
|
5
|
-
|
|
6
|
-
beforeAll(() => {
|
|
7
|
-
setupTestMocks();
|
|
8
|
-
})
|
|
9
4
|
|
|
10
5
|
test('renders $(ClassName) component', () => {
|
|
11
6
|
const wrapper = render(<$(ClassName) />);
|
package/templates/react/igr-ts/linear-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import $(ClassName) from './$(path)';
|
|
4
|
-
import { setupTestMocks } from '../../setupTests';
|
|
5
|
-
|
|
6
|
-
beforeAll(() => {
|
|
7
|
-
setupTestMocks();
|
|
8
|
-
})
|
|
9
4
|
|
|
10
5
|
test('renders $(ClassName) component', () => {
|
|
11
6
|
const wrapper = render(<$(ClassName) />);
|
package/templates/react/igr-ts/pie-chart/default/files/src/app/__path__/__filePrefix__.test.tsx
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import $(ClassName) from './$(path)';
|
|
4
|
-
import { setupTestMocks } from '../../setupTests';
|
|
5
|
-
|
|
6
|
-
beforeAll(() => {
|
|
7
|
-
setupTestMocks();
|
|
8
|
-
})
|
|
9
4
|
|
|
10
5
|
test('renders $(ClassName) component', () => {
|
|
11
6
|
const wrapper = render(<$(ClassName) />);
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import App from './app';
|
|
4
4
|
import 'element-internals-polyfill';
|
|
5
|
-
import { setupTestMocks } from '../setupTests';
|
|
6
|
-
|
|
7
|
-
beforeAll(() => {
|
|
8
|
-
setupTestMocks();
|
|
9
|
-
})
|
|
10
5
|
|
|
11
6
|
test('renders without crashing', () => {
|
|
12
7
|
const wrapper = render(<App />);
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import ResizeObserver from 'resize-observer-polyfill'
|
|
2
|
+
import {vi} from 'vitest'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
globalThis.ResizeObserver = ResizeObserver;
|
|
4
|
+
globalThis.ResizeObserver = ResizeObserver;
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
6
|
+
HTMLElement.prototype.scrollIntoView = vi.fn();
|
|
7
|
+
HTMLElement.prototype.hidePopover = vi.fn();
|
|
8
|
+
HTMLElement.prototype.showPopover = vi.fn();
|
|
9
|
+
HTMLElement.prototype.togglePopover = vi.fn();
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import { MemoryRouter } from 'react-router-dom';
|
|
4
4
|
import App from './app';
|
|
5
5
|
import 'element-internals-polyfill';
|
|
6
|
-
import { setupTestMocks } from '../setupTests';
|
|
7
|
-
|
|
8
|
-
beforeAll(() => {
|
|
9
|
-
setupTestMocks();
|
|
10
|
-
})
|
|
11
6
|
|
|
12
7
|
test('renders without crashing', () => {
|
|
13
|
-
const wrapper = render(
|
|
8
|
+
const wrapper = render(
|
|
14
9
|
<MemoryRouter>
|
|
15
10
|
<App />
|
|
16
11
|
</MemoryRouter>);
|
|
17
|
-
|
|
12
|
+
|
|
18
13
|
expect(wrapper).toBeTruthy();
|
|
19
|
-
});
|
|
14
|
+
});
|
package/templates/react/igr-ts/radial-gauge/default/files/src/app/__path__/__filePrefix__.test.tsx
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { expect, test } from 'vitest';
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import $(ClassName) from './$(path)';
|
|
4
|
-
import { setupTestMocks } from '../../setupTests';
|
|
5
|
-
|
|
6
|
-
beforeAll(() => {
|
|
7
|
-
setupTestMocks();
|
|
8
|
-
})
|
|
9
4
|
|
|
10
5
|
test('renders $(ClassName) component', () => {
|
|
11
6
|
const wrapper = render(<$(ClassName) />);
|