Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
test-object-model
Advanced tools
A test tree - used as input to one of several runners:
Create a module which exports one or more tests.
const Tom = require('test-object-model')
const assert = require('assert')
const tom = new Tom()
tom.test('Quick maths', function () {
const result = 2 + 2 - 1
assert.strictEqual(result, 3)
})
module.exports = tom
Create a simple test.
tom.test('name', function () {
// test
})
Skip a test.
tom.skip('name', function () {
// test
})
Skip all but this test.
tom.only('name', function () {
// test
})
Ignore a test.
tom.test('name')
Test context.
tom.test('name', function () {
const testName = this.name
const testNumber = this.index
})
Pass the TOM as input into a test-runner.
© 2018-19 Lloyd Brookes <75pound@gmail.com>.
FAQs
security holding package
The npm package test-object-model receives a total of 4 weekly downloads. As such, test-object-model popularity was classified as not popular.
We found that test-object-model demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.