Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
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

test-object-model

test-object-model

  • 0.3.5
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-55.56%
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc