You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

test-object-model

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

test-object-model

test-object-model

0.3.0
unpublished
npm
Version published
Weekly downloads
8
100%
Maintainers
1
Weekly downloads
 
Created
Source

view on npm npm module downloads Build Status Dependency Status js-standard-style

test-object-model

test-object-model

  • test-object-model
    • Tom
      • new Tom([name], [testFn], [options])
      • instance
        • .name : string
        • .testFn : function
        • .index
        • .state
        • .test()
        • .skip()
        • .only()
        • .run()Promise
        • .reset()
      • static
      • inner

Tom ⏏

Kind: Exported class

new Tom([name], [testFn], [options])
ParamType
[name]string
[testFn]function
[options]object
[options.timeout]number

tom.name : string

Test name

Kind: instance property of Tom

tom.testFn : function

Test function

Kind: instance property of Tom

tom.index

Position of this test within its parents children

Kind: instance property of Tom

tom.state

Test state: pending, start, skip, pass or fail.

Kind: instance property of Tom

tom.test()

Add a test.

Kind: instance method of Tom

tom.skip()

Add a skipped test

Kind: instance method of Tom

tom.only()

Add an only test

Kind: instance method of Tom

tom.run() ⇒ Promise

Execute the stored test function.

Kind: instance method of Tom

tom.reset()

Reset state

Kind: instance method of Tom

Tom.combine(toms, [name]) ⇒ Tom

Combine several TOM instances into a common root

Kind: static method of Tom

ParamType
tomsArray.<Tom>
[name]string

Tom~TestContext

The test context, available as this within each test function.

Kind: inner class of Tom

© 2018-19 Lloyd Brookes <75pound@gmail.com>.

FAQs

Package last updated on 29 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts