@vonage/vivid-test-utils 5.23.0 → 5.23.1

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.
Files changed (40) hide show
  1. package/package.json +11 -9
  2. package/dist/tests/cases/accordion/tests.d.ts +0 -2
  3. package/dist/tests/cases/alert/tests.d.ts +0 -2
  4. package/dist/tests/cases/banner/tests.d.ts +0 -2
  5. package/dist/tests/cases/button/tests.d.ts +0 -2
  6. package/dist/tests/cases/checkbox/tests.d.ts +0 -2
  7. package/dist/tests/cases/collections/tests.d.ts +0 -2
  8. package/dist/tests/cases/combobox/tests.d.ts +0 -2
  9. package/dist/tests/cases/date-picker/tests.d.ts +0 -2
  10. package/dist/tests/cases/date-range-picker/tests.d.ts +0 -2
  11. package/dist/tests/cases/date-time-picker/tests.d.ts +0 -2
  12. package/dist/tests/cases/dialog/tests.d.ts +0 -2
  13. package/dist/tests/cases/fab/tests.d.ts +0 -2
  14. package/dist/tests/cases/icon/tests.d.ts +0 -2
  15. package/dist/tests/cases/main.d.ts +0 -1
  16. package/dist/tests/cases/menu/tests.d.ts +0 -2
  17. package/dist/tests/cases/nav/tests.d.ts +0 -2
  18. package/dist/tests/cases/number-field/tests.d.ts +0 -2
  19. package/dist/tests/cases/pagination/tests.d.ts +0 -2
  20. package/dist/tests/cases/radio/tests.d.ts +0 -2
  21. package/dist/tests/cases/range-slider/tests.d.ts +0 -2
  22. package/dist/tests/cases/searchable-select/tests.d.ts +0 -2
  23. package/dist/tests/cases/select/tests.d.ts +0 -2
  24. package/dist/tests/cases/selectable-box/tests.d.ts +0 -2
  25. package/dist/tests/cases/slider/tests.d.ts +0 -2
  26. package/dist/tests/cases/split-button/tests.d.ts +0 -2
  27. package/dist/tests/cases/switch/tests.d.ts +0 -2
  28. package/dist/tests/cases/tabs/tests.d.ts +0 -2
  29. package/dist/tests/cases/tag/tests.d.ts +0 -2
  30. package/dist/tests/cases/text-area/tests.d.ts +0 -2
  31. package/dist/tests/cases/text-field/tests.d.ts +0 -2
  32. package/dist/tests/cases/time-picker/tests.d.ts +0 -2
  33. package/dist/tests/cases/toggletip/tests.d.ts +0 -2
  34. package/dist/tests/cases/tooltip/tests.d.ts +0 -2
  35. package/dist/tests/cypress.cy.d.ts +0 -1
  36. package/dist/tests/dom.spec.d.ts +0 -0
  37. package/dist/tests/playwright.pw.d.ts +0 -1
  38. package/dist/tests/test-case.d.ts +0 -8
  39. package/dist/tests/test-cases.d.ts +0 -1
  40. package/dist/utils/cssSelectors.spec.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/vivid-test-utils",
3
- "version": "5.23.0",
3
+ "version": "5.23.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./dom": {
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@testing-library/user-event": "^14.6.1",
32
32
  "change-case": "^5.4.4",
33
- "@vonage/vivid": "^5.23.0"
33
+ "@vonage/vivid": "^5.23.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@playwright/test": "1.57.0",
@@ -41,19 +41,21 @@
41
41
  "cypress": "15.13.1",
42
42
  "eslint": "^10.3.0",
43
43
  "tsx": "^4.21.0",
44
+ "typescript": "5.9.3",
44
45
  "vite": "^8.0.12",
45
- "vitest": "^4.1.5",
46
+ "vite-plugin-dts": "^4.5.4",
47
+ "vitest": "^4.1.8",
46
48
  "vue": "^3.5.34",
47
49
  "wait-on": "^8.0.5",
48
- "@repo/eslint-config": "1.0.0",
50
+ "@repo/internal-test-utils": "1.0.0",
51
+ "@repo/metadata-extractor": "1.0.0",
49
52
  "@repo/tools": "1.0.0",
50
53
  "@repo/typescript-config": "1.0.0",
51
- "@repo/shared": "1.0.0",
54
+ "@repo/vite-config": "1.0.0",
52
55
  "@repo/vitest-config": "1.0.0",
53
- "@repo/metadata-extractor": "1.0.0",
56
+ "@vonage/vivid-vue": "5.23.1",
54
57
  "@repo/wrapper-gen": "1.0.0",
55
- "@repo/vite-config": "1.0.0",
56
- "@vonage/vivid-vue": "5.23.0"
58
+ "@repo/eslint-config": "1.0.0"
57
59
  },
58
60
  "scripts": {
59
61
  "prebuild": "tsx scripts/codegen.ts",
@@ -66,6 +68,6 @@
66
68
  "lint:fix": "eslint . --max-warnings=0 --fix",
67
69
  "test": "vitest run",
68
70
  "test:coverage": "vitest run --coverage && relativize-coverage .",
69
- "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.tools.json"
71
+ "typecheck": "tsc --noEmit"
70
72
  }
71
73
  }
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const accordionTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const alertTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const bannerTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const buttonTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const checkboxTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const collectionsTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const comboboxTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const datePickerTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const dateRangePickerTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const dateTimePickerTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const dialogTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const fabTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const iconTests: TestCase[];
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const menuTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const navTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const numberFieldTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const paginationTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const radioTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const rangeSliderTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const searchableSelectTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const selectTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const selectableBoxTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const sliderTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const splitButtonTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const switchTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const tabsTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const tagTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const textAreaTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const textFieldTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const timePickerTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const toggletipTests: TestCase[];
@@ -1,2 +0,0 @@
1
- import { TestCase } from '../../test-case';
2
- export declare const tooltipTests: TestCase[];
@@ -1 +0,0 @@
1
- export {};
File without changes
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- import { DriverT } from '../drivers/driver';
2
- import { VividWrapper } from '../components.generated';
3
- export interface TestCase {
4
- name: string;
5
- path: string;
6
- expectErrorMessage?: string;
7
- test: <T extends DriverT>(vvd: VividWrapper<T>, expectState: (expectedState: Record<string, any>) => void | Promise<void>) => void | Promise<void>;
8
- }
@@ -1 +0,0 @@
1
- export declare const testCases: import('./test-case').TestCase[];
@@ -1 +0,0 @@
1
- export {};