@rwx-research/abq
Advanced tools
Comparing version 0.1.0-alpha.9 to 0.1.0-alpha.10
@@ -1,5 +0,4 @@ | ||
/// <reference types="node" /> | ||
import { Socket } from 'net'; | ||
import { AbqConfiguration } from './configuration'; | ||
import { SpawnedMessageInterface } from './protocol'; | ||
export declare function connect(abqConfig: AbqConfiguration, { adapterName, adapterVersion, testFramework, testFrameworkVersion }: SpawnedMessageInterface): Promise<Socket>; | ||
import type { Connection } from './types'; | ||
export declare function connect(abqConfig: AbqConfiguration, { adapterName, adapterVersion, testFramework, testFrameworkVersion }: SpawnedMessageInterface): Promise<Connection>; |
@@ -0,1 +1,4 @@ | ||
/// <reference types="node" /> | ||
import type * as net from 'net'; | ||
export type Connection = net.Socket; | ||
export interface Test { | ||
@@ -84,3 +87,3 @@ type: 'test'; | ||
} | ||
export type TestResultMessage = SingleTestResultMessage | MultipleTestResultsMessage; | ||
export type TestResultMessage = SingleTestResultMessage | MultipleTestResultsMessage | IncrementalTestResultMessage; | ||
export interface SingleTestResultMessage { | ||
@@ -92,2 +95,11 @@ test_result: TestResult; | ||
} | ||
export type IncrementalTestResultMessage = IncrementalTestResultStep | IncrementalTestResultDone; | ||
export interface IncrementalTestResultStep { | ||
type: 'incremental_result'; | ||
one_test_result: TestResult; | ||
} | ||
export interface IncrementalTestResultDone { | ||
type: 'incremental_result_done'; | ||
last_test_result?: TestResult; | ||
} | ||
export interface NativeRunnerSpecification { | ||
@@ -94,0 +106,0 @@ type: 'abq_native_runner_specification'; |
{ | ||
"name": "@rwx-research/abq", | ||
"version": "0.1.0-alpha.9", | ||
"version": "0.1.0-alpha.10", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
18291
452