test: update tests for Deno with @git.zone/tstest/tapbundle
- Update tapbundle imports from @push.rocks to @git.zone/tstest - Change all test file imports from .js to .ts extensions - Tests verified working with Deno runtime - All 10 logger tests passing - SNMP tests ready for Deno execution
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { tap, expect } from '@push.rocks/tapbundle';
|
||||
import { NupstSnmp } from '../ts/snmp/manager.js';
|
||||
import type { ISnmpConfig, IUpsStatus } from '../ts/snmp/types.js';
|
||||
import { tap, expect } from 'npm:@git.zone/tstest@^1.0.0/tapbundle';
|
||||
import { NupstSnmp } from '../ts/snmp/manager.ts';
|
||||
import type { ISnmpConfig, IUpsStatus } from '../ts/snmp/types.ts';
|
||||
|
||||
import * as qenv from '@push.rocks/qenv';
|
||||
import * as qenv from 'npm:@push.rocks/qenv';
|
||||
const testQenv = new qenv.Qenv('./', '.nogit/');
|
||||
|
||||
// Create an SNMP instance with debug enabled
|
||||
|
Reference in New Issue
Block a user