fix(tests): Fix outdated import paths in test files for dcrouter and ratelimiter modules
This commit is contained in:
		| @@ -1,5 +1,11 @@ | ||||
| # Changelog | ||||
|  | ||||
| ## 2025-05-08 - 2.8.2 - fix(tests) | ||||
| Fix outdated import paths in test files for dcrouter and ratelimiter modules | ||||
|  | ||||
| - Updated dcrouter import from '../ts/dcrouter/index.js' to '../ts/classes.dcrouter.js' | ||||
| - Updated ratelimiter import from '../ts/mta/classes.ratelimiter.js' to '../ts/mail/delivery/classes.ratelimiter.js' | ||||
|  | ||||
| ## 2025-05-08 - 2.8.1 - fix(readme) | ||||
| Update readme with consolidated email system improvements and modular directory structure | ||||
|  | ||||
|   | ||||
| @@ -6,7 +6,7 @@ import { | ||||
|   type IEmailConfig, | ||||
|   type EmailProcessingMode, | ||||
|   type IDomainRule | ||||
| } from '../ts/dcrouter/index.js'; | ||||
| } from '../ts/classes.dcrouter.js'; | ||||
|  | ||||
| tap.test('DcRouter class - basic functionality', async () => { | ||||
|   // Create a simple DcRouter instance | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| import { tap, expect } from '@push.rocks/tapbundle'; | ||||
| import { RateLimiter } from '../ts/mta/classes.ratelimiter.js'; | ||||
| import { RateLimiter } from '../ts/mail/delivery/classes.ratelimiter.js'; | ||||
|  | ||||
| tap.test('RateLimiter - should be instantiable', async () => { | ||||
|   const limiter = new RateLimiter({ | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@serve.zone/platformservice', | ||||
|   version: '2.8.1', | ||||
|   version: '2.8.2', | ||||
|   description: 'A multifaceted platform service handling mail, SMS, letter delivery, and AI services.' | ||||
| } | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@serve.zone/platformservice', | ||||
|   version: '2.8.1', | ||||
|   version: '2.8.2', | ||||
|   description: 'A multifaceted platform service handling mail, SMS, letter delivery, and AI services.' | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user