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,4 +1,4 @@
import { tap, expect } from '@push.rocks/tapbundle';
import { tap, expect } from '@git.zone/tstest/tapbundle';
import {
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 { 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);
});
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 { 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 { 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);
});
tap.start();
export default tap.start();

View File

@@ -130,4 +130,4 @@ tap.test('wysiwyg drop indicator positioning', async () => {
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);
});
tap.start();
export default tap.start();

View File

@@ -121,4 +121,4 @@ tap.test('identify the crash point', async () => {
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);
});
tap.start();
export default tap.start();

View File

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