fix(TapNodeTools): Fix server port default value in createSmarts3 method

This commit is contained in:
Philipp Kunz 2024-11-06 03:16:44 +01:00
parent f3f05b89d9
commit 8ec3d593c1
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## 2024-11-06 - 5.4.3 - fix(TapNodeTools)
Fix server port default value in createSmarts3 method
- The `createSmarts3` method in `TapNodeTools` now explicitly sets the port to 3003.
## 2024-11-06 - 5.4.2 - fix(dependencies) ## 2024-11-06 - 5.4.2 - fix(dependencies)
Update smarts3 dependency version to fix issues. Update smarts3 dependency version to fix issues.

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/tapbundle', name: '@push.rocks/tapbundle',
version: '5.4.2', version: '5.4.3',
description: 'A test automation library bundling utilities and tools for TAP (Test Anything Protocol) based testing, specifically tailored for tapbuffer.' description: 'A test automation library bundling utilities and tools for TAP (Test Anything Protocol) based testing, specifically tailored for tapbuffer.'
} }

View File

@ -85,6 +85,7 @@ class TapNodeTools {
public async createSmarts3() { public async createSmarts3() {
const smarts3Mod = await import('@push.rocks/smarts3'); const smarts3Mod = await import('@push.rocks/smarts3');
const smarts3Instance = new smarts3Mod.Smarts3({ const smarts3Instance = new smarts3Mod.Smarts3({
port: 3003,
cleanSlate: true, cleanSlate: true,
}); });
await smarts3Instance.start(); await smarts3Instance.start();