fix(tests): migrate tests to @git.zone/tstest tapbundle and export tap.start() in browser tests

This commit is contained in:
2025-12-30 11:52:39 +00:00
parent 540f1c2431
commit 22225b79ed
15 changed files with 31 additions and 1761 deletions

View File

@@ -1,5 +1,13 @@
# Changelog # Changelog
## 2025-12-30 - 3.11.1 - fix(tests)
migrate tests to @git.zone/tstest tapbundle and export tap.start() in browser tests
- Replaced imports from @push.rocks/tapbundle to @git.zone/tstest/tapbundle across test files
- Replaced bare tap.start() calls with export default tap.start() in browser test files so the runner can be imported
- Bumped devDependency @git.zone/tstest from ^3.1.3 to ^3.1.4 and removed @push.rocks/tapbundle from devDependencies
- Changes include package.json and updates to multiple test files (11 test files)
## 2025-12-30 - 3.11.0 - feat(dees-appui-tabs) ## 2025-12-30 - 3.11.0 - feat(dees-appui-tabs)
improve horizontal tabs UX with scroll fades, hover scrollbar, and smooth scroll-to-selected improve horizontal tabs UX with scroll fades, hover scrollbar, and smooth scroll-to-selected

View File

@@ -47,10 +47,9 @@
"@design.estate/dees-wcctools": "^3.3.0", "@design.estate/dees-wcctools": "^3.3.0",
"@git.zone/tsbuild": "^4.0.2", "@git.zone/tsbuild": "^4.0.2",
"@git.zone/tsbundle": "^2.6.3", "@git.zone/tsbundle": "^2.6.3",
"@git.zone/tstest": "^3.1.3", "@git.zone/tstest": "^3.1.4",
"@git.zone/tswatch": "^2.3.13", "@git.zone/tswatch": "^2.3.13",
"@push.rocks/projectinfo": "^5.0.2", "@push.rocks/projectinfo": "^5.0.2",
"@push.rocks/tapbundle": "^6.0.3",
"@types/node": "^25.0.3" "@types/node": "^25.0.3"
}, },
"files": [ "files": [

1757
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
import { tap, expect } from '@push.rocks/tapbundle'; import { tap, expect } from '@git.zone/tstest/tapbundle';
import { import {
resolveWidgetPlacement, resolveWidgetPlacement,

View File

@@ -1,4 +1,4 @@
import { expect, tap, webhelpers } from '@push.rocks/tapbundle'; import { expect, tap, webhelpers } from '@git.zone/tstest/tapbundle';
import { DeesWysiwygBlock } from '../ts_web/elements/00group-input/dees-input-wysiwyg/dees-wysiwyg-block.js'; import { DeesWysiwygBlock } from '../ts_web/elements/00group-input/dees-input-wysiwyg/dees-wysiwyg-block.js';
import { WysiwygSelection } from '../ts_web/elements/00group-input/dees-input-wysiwyg/wysiwyg.selection.js'; import { WysiwygSelection } from '../ts_web/elements/00group-input/dees-input-wysiwyg/wysiwyg.selection.js';

View File

@@ -82,4 +82,4 @@ tap.test('wysiwyg block movement during drag', async () => {
document.body.removeChild(element); document.body.removeChild(element);
}); });
tap.start(); export default tap.start();

View File

@@ -1,4 +1,4 @@
import { tap, expect, webhelpers } from '@push.rocks/tapbundle'; import { tap, expect, webhelpers } from '@git.zone/tstest/tapbundle';
import * as deesCatalog from '../ts_web/index.js'; import * as deesCatalog from '../ts_web/index.js';
import { BlockRegistry } from '../ts_web/elements/00group-input/dees-input-wysiwyg/blocks/block.registry.js'; import { BlockRegistry } from '../ts_web/elements/00group-input/dees-input-wysiwyg/blocks/block.registry.js';

View File

@@ -1,4 +1,4 @@
import { tap, expect, webhelpers } from '@push.rocks/tapbundle'; import { tap, expect, webhelpers } from '@git.zone/tstest/tapbundle';
import * as deesCatalog from '../ts_web/index.js'; import * as deesCatalog from '../ts_web/index.js';
import { BlockRegistry } from '../ts_web/elements/00group-input/dees-input-wysiwyg/blocks/block.registry.js'; import { BlockRegistry } from '../ts_web/elements/00group-input/dees-input-wysiwyg/blocks/block.registry.js';

View File

@@ -92,4 +92,4 @@ tap.test('wysiwyg drag start behavior', async () => {
document.body.removeChild(element); document.body.removeChild(element);
}); });
tap.start(); export default tap.start();

View File

@@ -130,4 +130,4 @@ tap.test('wysiwyg drop indicator positioning', async () => {
document.body.removeChild(element); document.body.removeChild(element);
}); });
tap.start(); export default tap.start();

View File

@@ -169,4 +169,4 @@ tap.test('wysiwyg drag and drop visual feedback', async () => {
document.body.removeChild(element); document.body.removeChild(element);
}); });
tap.start(); export default tap.start();

View File

@@ -121,4 +121,4 @@ tap.test('identify the crash point', async () => {
console.log('Cleanup completed'); console.log('Cleanup completed');
}); });
tap.start(); export default tap.start();

View File

@@ -105,4 +105,4 @@ tap.test('wysiwyg drag initialization with drop indicator', async () => {
document.body.removeChild(element); document.body.removeChild(element);
}); });
tap.start(); export default tap.start();

View File

@@ -111,4 +111,4 @@ tap.test('wysiwyg setTimeout in drag start', async () => {
document.body.removeChild(element); document.body.removeChild(element);
}); });
tap.start(); export default tap.start();

View File

@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@design.estate/dees-catalog', name: '@design.estate/dees-catalog',
version: '3.11.0', version: '3.11.1',
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.' description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
} }