fix(tapbundle_serverside): add TapNodeTools cleanup hooks to stop SmartNetwork processes after tests

This commit is contained in:
2026-03-27 18:23:42 +00:00
parent 7490da22c0
commit 2946169360
10 changed files with 151 additions and 152 deletions

View File

@@ -1,5 +1,7 @@
import { tap, expect } from '../../ts_tapbundle/index.js';
import { tapNodeTools } from '../../ts_tapbundle_serverside/index.js';
import { TapNodeTools } from '../../ts_tapbundle_serverside/index.js';
const tapNodeTools = new TapNodeTools(tap);
tap.test('should find a single free port', async () => {
const port = await tapNodeTools.findFreePort();

View File

@@ -1,6 +1,7 @@
import { tap, expect } from '../../ts_tapbundle/index.js';
import { TapNodeTools } from '../../ts_tapbundle_serverside/index.js';
import { tapNodeTools } from '../../ts_tapbundle_serverside/index.js';
const tapNodeTools = new TapNodeTools(tap);
tap.test('should execure a command', async () => {
const result = await tapNodeTools.runCommand('ls -la');