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

@travetto/test

Package Overview
Dependencies
Maintainers
1
Versions
358
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/test - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

2

package.json

@@ -31,3 +31,3 @@ {

},
"version": "0.0.26"
"version": "0.0.27"
}

@@ -5,5 +5,5 @@ import { Class } from '@travetto/registry';

export function Suite(name?: string, extra?: Partial<SuiteConfig>) {
export function Suite(description?: string, extra?: Partial<SuiteConfig>) {
return (target: Class<any>) => {
TestRegistry.register(target, { name, ...(extra || {}) });
TestRegistry.register(target, { description, ...(extra || {}) });
return target;

@@ -10,0 +10,0 @@ }

@@ -8,2 +8,3 @@ import { TestConfig, TestResult } from './test';

name: string;
description: string;
line: number;

@@ -10,0 +11,0 @@ lineEnd: number;

@@ -34,4 +34,5 @@ import { MetadataRegistry, Class, ChangeEvent } from '@travetto/registry';

config.tests = Array.from(tests) as TestConfig[];
if (!config.name) {
config.name = cls.__id.split(':test.')[1].replace('#', '.');
config.name = cls.__id.split(':test.')[1].replace('#', '.');
if (!config.description) {
config.description = config.name;
}

@@ -38,0 +39,0 @@ for (const t of config.tests) {

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