fix(tests): Update test imports and devDependencies to use @git.zone/tstest/tapbundle
This commit is contained in:
parent
75783b0e87
commit
f2823c2645
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-05-16 - 3.1.2 - fix(tests)
|
||||||
|
Update test imports and devDependencies to use @git.zone/tstest/tapbundle
|
||||||
|
|
||||||
|
- Changed import statements in test files from '@push.rocks/tapbundle' to '@git.zone/tstest/tapbundle'
|
||||||
|
- Updated devDependency '@git.zone/tstest' to version ^1.7.0 and removed dependency on '@push.rocks/tapbundle'
|
||||||
|
|
||||||
## 2025-05-15 - 3.1.1 - fix(source-interactive)
|
## 2025-05-15 - 3.1.1 - fix(source-interactive)
|
||||||
Fix import path in receiver tests and rename progress bar property for clarity; update SmartlogSourceOra getter for improved backward compatibility.
|
Fix import path in receiver tests and rename progress bar property for clarity; update SmartlogSourceOra getter for improved backward compatibility.
|
||||||
|
|
||||||
|
@ -45,8 +45,7 @@
|
|||||||
"@git.zone/tsbuild": "^2.5.1",
|
"@git.zone/tsbuild": "^2.5.1",
|
||||||
"@git.zone/tsbundle": "^2.2.5",
|
"@git.zone/tsbundle": "^2.2.5",
|
||||||
"@git.zone/tsrun": "^1.3.3",
|
"@git.zone/tsrun": "^1.3.3",
|
||||||
"@git.zone/tstest": "^1.4.0",
|
"@git.zone/tstest": "^1.7.0",
|
||||||
"@push.rocks/tapbundle": "^6.0.3",
|
|
||||||
"@types/node": "^22.15.18"
|
"@types/node": "^22.15.18"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
1762
pnpm-lock.yaml
generated
1762
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import * as smartlog from '../ts/index.js';
|
import * as smartlog from '../ts/index.js';
|
||||||
|
|
||||||
let testConsoleLog: smartlog.ConsoleLog;
|
let testConsoleLog: smartlog.ConsoleLog;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import * as smartlogContext from '../ts_context/index.js';
|
import * as smartlogContext from '../ts_context/index.js';
|
||||||
|
|
||||||
tap.test('should correctly export strings from context module', async () => {
|
tap.test('should correctly export strings from context module', async () => {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import { SmartlogDestinationClickhouse } from '../ts_destination_clickhouse/index.js';
|
import { SmartlogDestinationClickhouse } from '../ts_destination_clickhouse/index.js';
|
||||||
import * as smartclickhouse from '@push.rocks/smartclickhouse';
|
import * as smartclickhouse from '@push.rocks/smartclickhouse';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import { SmartlogDestinationDevtools } from '../ts_destination_devtools/index.js';
|
import { SmartlogDestinationDevtools } from '../ts_destination_devtools/index.js';
|
||||||
|
|
||||||
export const run = async function() {
|
export const run = async function() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import { SmartlogDestinationDevtools } from '../ts_destination_devtools/index.js';
|
import { SmartlogDestinationDevtools } from '../ts_destination_devtools/index.js';
|
||||||
|
|
||||||
// Test we can create a destination instance
|
// Test we can create a destination instance
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import { SmartlogDestinationFile } from '../ts_destination_file/index.js';
|
import { SmartlogDestinationFile } from '../ts_destination_file/index.js';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import { DestinationLocal } from '../ts_destination_local/index.js';
|
import { DestinationLocal } from '../ts_destination_local/index.js';
|
||||||
import * as smartlogInterfaces from '../ts_interfaces/index.js';
|
import * as smartlogInterfaces from '../ts_interfaces/index.js';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import { SmartlogDestinationReceiver } from '../ts_destination_receiver/index.js';
|
import { SmartlogDestinationReceiver } from '../ts_destination_receiver/index.js';
|
||||||
import { Smartlog } from '../ts/index.js';
|
import { Smartlog } from '../ts/index.js';
|
||||||
import * as smartlogInterfaces from '../ts_interfaces/index.js';
|
import * as smartlogInterfaces from '../ts_interfaces/index.js';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import { SmartlogSourceInteractive, SmartlogProgressBar } from '../ts_source_interactive/index.js';
|
import { SmartlogSourceInteractive, SmartlogProgressBar } from '../ts_source_interactive/index.js';
|
||||||
|
|
||||||
// Test instances
|
// Test instances
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import { SmartlogReceiver } from '../ts_receiver/index.js';
|
import { SmartlogReceiver } from '../ts_receiver/index.js';
|
||||||
import { Smartlog } from '../dist_ts/index.js';
|
import { Smartlog } from '../dist_ts/index.js';
|
||||||
import * as smartlogInterfaces from '../ts_interfaces/index.js';
|
import * as smartlogInterfaces from '../ts_interfaces/index.js';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import { SmartlogSourceInteractive, SmartlogProgressBar, SmartlogSourceOra } from '../ts_source_interactive/index.js';
|
import { SmartlogSourceInteractive, SmartlogProgressBar, SmartlogSourceOra } from '../ts_source_interactive/index.js';
|
||||||
|
|
||||||
// Test spinner functionality
|
// Test spinner functionality
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { expect, tap } from '@push.rocks/tapbundle';
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||||||
import * as smartlog from '../ts/index.js';
|
import * as smartlog from '../ts/index.js';
|
||||||
|
|
||||||
let testConsoleLog: smartlog.ConsoleLog;
|
let testConsoleLog: smartlog.ConsoleLog;
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartlog',
|
name: '@push.rocks/smartlog',
|
||||||
version: '3.1.1',
|
version: '3.1.2',
|
||||||
description: 'A minimalistic, distributed, and extensible logging tool supporting centralized log management.'
|
description: 'A minimalistic, distributed, and extensible logging tool supporting centralized log management.'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user