API Docs for: 3.5.0
Show:

Test.Mock.Value Class

Defined in: test/js/Mock.js:154
Module: widget-parent

Creates a new value matcher.

Constructor

Test.Mock.Value

(
  • method
  • originalArgs
  • message
)

Defined in test/js/Mock.js:154

Parameters:

  • method Function

    The function to call on the value.

  • originalArgs Array

    (Optional) Array of arguments to pass to the method.

  • message String

    (Optional) Message to display in case of failure.

Item Index

Properties

Properties

Any

Function static

Defined in test/js/Mock.js:176

Predefined matcher to match any value.

Boolean

Function static

Defined in test/js/Mock.js:184

Predefined matcher to match boolean values.

Function

Function static

Defined in test/js/Mock.js:216

Predefined matcher to match function values.

Number

Function static

Defined in test/js/Mock.js:192

Predefined matcher to match number values.

Object

Function static

Defined in test/js/Mock.js:208

Predefined matcher to match object values.

String

Function static

Defined in test/js/Mock.js:200

Predefined matcher to match string values.