@travetto/test
Advanced tools
Comparing version 5.0.11 to 5.0.12
{ | ||
"name": "@travetto/test", | ||
"version": "5.0.11", | ||
"version": "5.0.12", | ||
"description": "Declarative test framework", | ||
@@ -32,8 +32,8 @@ "keywords": [ | ||
"@travetto/runtime": "^5.0.11", | ||
"@travetto/terminal": "^5.0.11", | ||
"@travetto/worker": "^5.0.11", | ||
"@travetto/terminal": "^5.0.12", | ||
"@travetto/worker": "^5.0.12", | ||
"yaml": "^2.6.0" | ||
}, | ||
"peerDependencies": { | ||
"@travetto/cli": "^5.0.11", | ||
"@travetto/cli": "^5.0.13", | ||
"@travetto/transformer": "^5.0.9" | ||
@@ -40,0 +40,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { ChildCommChannel } from '@travetto/worker'; | ||
import { IpcChannel } from '@travetto/worker'; | ||
@@ -12,4 +12,3 @@ import { TestEvent } from '../../model/event'; | ||
@Consumable('exec') | ||
export class ExecutionEmitter extends ChildCommChannel<TestEvent> implements TestConsumer { | ||
export class ExecutionEmitter extends IpcChannel<TestEvent> implements TestConsumer { | ||
onEvent(event: TestEvent): void { | ||
@@ -16,0 +15,0 @@ this.send(event.type, JSON.parse(SerializeUtil.serializeToJSON(event))); |
import { createWriteStream } from 'node:fs'; | ||
import { ConsoleManager, Env, Util, Runtime } from '@travetto/runtime'; | ||
import { ChildCommChannel } from '@travetto/worker'; | ||
import { IpcChannel } from '@travetto/worker'; | ||
@@ -16,3 +16,3 @@ import { SerializeUtil } from '../consumer/serialize'; | ||
*/ | ||
export class TestChildWorker extends ChildCommChannel<TestRun> { | ||
export class TestChildWorker extends IpcChannel<TestRun> { | ||
@@ -19,0 +19,0 @@ #done = Util.resolvablePromise(); |
import { fork } from 'node:child_process'; | ||
import { Env, RuntimeIndex } from '@travetto/runtime'; | ||
import { ParentCommChannel } from '@travetto/worker'; | ||
import { IpcChannel } from '@travetto/worker'; | ||
@@ -26,3 +26,3 @@ import { Events, TestLogEvent } from './types'; | ||
const channel = new ParentCommChannel<TestEvent & { error?: Error }>( | ||
const channel = new IpcChannel<TestEvent & { error?: Error }>( | ||
fork( | ||
@@ -29,0 +29,0 @@ RuntimeIndex.resolveFileImport('@travetto/cli/support/entry.trv'), ['test:child'], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111842
Updated@travetto/terminal@^5.0.12
Updated@travetto/worker@^5.0.12