This package has been deprecated

Author message:

This @cybernaut package is not developed any further. Please use the new @cybernaut/test package.

@cybernaut/core

14.0.0 • Public • Published

@cybernaut/core

Package Version Build Status Coverage Status

The foundation (the core) of all @cybernaut/engine-compatible APIs.

Installation

npm install --save @cybernaut/core

Type definitions

External imports

@cybernaut/core/lib/ConditionBuilder

import {Accessor} from '@cybernaut/types/lib/Accessor';
import {Condition} from '@cybernaut/types/lib/Condition';
import {Predicate} from '@cybernaut/types/lib/Predicate';

export class ConditionBuilder {
  public constructor(description: string, accessor: Accessor, negated: boolean);

  public equalTo(value: any): Condition;

  public above(value: number): Condition;
  public atLeast(value: number): Condition;
  public atMost(value: number): Condition;
  public below(value: number): Condition;
  public between(minValue: number, maxValue: number): Condition;

  public containing(value: string): Condition;
  public matching(value: RegExp): Condition;
}

@cybernaut/core/lib/Property

import {ConditionBuilder} from '@cybernaut/core/lib/ConditionBuilder';
import {Accessor} from '@cybernaut/types/lib/Accessor';

export class Property {
  public constructor(description: string, accessor: Accessor);

  public readonly is: ConditionBuilder;
  public readonly isNot: ConditionBuilder;
}

Built by (c) Clemens Akens. Released under the terms of the MIT License.

Package Sidebar

Install

npm i @cybernaut/core

Weekly Downloads

0

Version

14.0.0

License

MIT

Last publish

Collaborators

  • clebert