
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
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
We found that test-object-model demonstrated a not healthy version release cadence and project activity because the last version was released 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.