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.7
  • 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
    • Test
      • new Test([name], [testFn], [options])
      • instance
        • .name : string
        • .testFn : function
        • .index
        • .state
        • .ended
        • .test()
        • .skip()
        • .only()
        • .run()Promise
        • .reset()
      • static
      • inner

Test ⏏

Kind: Exported class

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

test.name : string

Test name

Kind: instance property of Test

test.testFn : function

Test function

Kind: instance property of Test

test.index

Position of this test within its parents children

Kind: instance property of Test

test.state

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

Kind: instance property of Test

test.ended

True if ended

Kind: instance property of Test

test.test()

Add a test.

Kind: instance method of Test

test.skip()

Add a skipped test

Kind: instance method of Test

test.only()

Add an only test

Kind: instance method of Test

test.run() ⇒ Promise

Execute the stored test function.

Kind: instance method of Test

test.reset()

Reset state

Kind: instance method of Test

Test.combine(tests, [name]) ⇒ Test

Combine several TOM instances into a common root

Kind: static method of Test

ParamType
testsArray.<Test>
[name]string

Test~TestContext

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

Kind: inner class of Test


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

FAQs

Package last updated on 03 Mar 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