Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Class representing the contents of a return by an assertion.

Initializers

import { testingMatchers } from 'cdktn'

new testingMatchers.AssertionReturn(message: string, pass: boolean)
NameTypeDescription
messagestring- String message containing information about the result of the assertion.
passboolean- Boolean pass denoting the success of the assertion.

messageRequired

  • Type: string
String message containing information about the result of the assertion.

passRequired

  • Type: boolean
Boolean pass denoting the success of the assertion.

Properties

NameTypeDescription
messagestring- String message containing information about the result of the assertion.
passboolean- Boolean pass denoting the success of the assertion.

messageRequired

public readonly message: string;
  • Type: string
String message containing information about the result of the assertion.

passRequired

public readonly pass: boolean;
  • Type: boolean
Boolean pass denoting the success of the assertion.