Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@travetto/test

Package Overview
Dependencies
Maintainers
1
Versions
352
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.54 to 0.0.55

2

bin/travetto-test.js

@@ -13,4 +13,4 @@ #!/usr/bin/env node

const { Runner } = require('../src/runner');
new Runner(process.argv).run().then(x => process.exit(0), e => process.exit(1));
new Runner(process.argv.slice(2)).run().then(x => process.exit(0), e => process.exit(1));
});
}

@@ -30,3 +30,3 @@ {

},
"version": "0.0.54"
"version": "0.0.55"
}

@@ -104,3 +104,3 @@ import { LocalExecution, ChildExecution, serializeError, deserializeError } from '@travetto/exec';

try {
await new Runner(['-f', 'exec', '-m', 'single', '--', data.file, data.class, data.method]).run();
await new Runner(['-f', 'exec', '-m', 'single', data.file, data.class, data.method]).run();
worker.send(Events.RUN_COMPLETE);

@@ -107,0 +107,0 @@ } catch (e) {

@@ -16,7 +16,5 @@ import * as minimist from 'minimist';

_: string[];
'--': string[];
}
const RunnerOptions = {
'--': true,
const RUNNER_OPTIONS = {
default: {

@@ -40,3 +38,3 @@ format: 'tap',

constructor(args: string[] = process.argv) {
this.state = minimist(args, RunnerOptions) as any as State;
this.state = minimist(args, RUNNER_OPTIONS) as any as State;
}

@@ -90,3 +88,3 @@

async getFiles() {
const globs = this.state['--'].length ? this.state['--'] : this.state._.slice(2); // strip off node and worker name
const globs = this.state._; // strip off node and worker name
let files = await ExecuteUtil.getTests(globs.map(x => new RegExp(x)));

@@ -93,0 +91,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