New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

classy-test

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classy-test - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "classy-test",
"version": "1.0.2",
"version": "1.0.3",
"description": "Opinionated class based testing framework",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -44,3 +44,3 @@ # Classy Test

Type: `string` *(test file extension)* <br/>
Default: `'.test.js`
Default: `'.test.js'`

@@ -82,3 +82,3 @@ Set the default file extension for your test files.

const Component = require("./component"),
const Component = require("../lib/component"),
classyTest = require("classy-test"),

@@ -105,6 +105,24 @@ assert = require("chai").assert;

module.exports = [
Component
ComponentTestCase
];
```
### Output
```bash
$ node node_modules/classy-test/bin/classy-test-cli.js 1 ↵
debug: - 1 files found -
debug: /Users/johnrake/dev/classy-test-sandbox/test/component.test.js
debug: testing file - /Users/johnrake/dev/classy-test-sandbox/test/component.test.js
debug: found 1 test case(s)
debug: running test case [ComponentTestCase]
info: [ComponentTestCase] - 2 tests
..
info: ================================
info: pass: 2 -- fail: 0
info: ================================
time taken: 35.084ms
```
For more examples check [here](examples).

@@ -111,0 +129,0 @@

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