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

codi-test-framework

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codi-test-framework - npm Package Compare versions

Comparing version 0.0.45 to 0.0.46

2

package.json
{
"name": "codi-test-framework",
"version": "v0.0.45",
"version": "v0.0.46",
"description": "A simple test framework for JavaScript",

@@ -5,0 +5,0 @@ "main": "src/testRunner.js",

@@ -44,5 +44,3 @@ import { state } from '../state/TestState.js';

const defaults = {
parallel: false,
quiet: false,
batchSize: 5,
showSummary: true

@@ -61,30 +59,4 @@ }

try {
if (parallel) {
if (batchSize > 0) {
// Run tests in batches
const batches = [];
for (let i = 0; i < testFiles.length; i += batchSize) {
batches.push(testFiles.slice(i, i + batchSize));
}
for (const [index, batch] of batches.entries()) {
if (!quiet) {
console.log(chalk.blue(`\nBatch ${index + 1}/${batches.length}`));
}
await Promise.all(
batch.map(file => runWebTestFile(file, options))
);
}
} else {
// Run all tests in parallel
await Promise.all(
testFiles.map(file => runWebTestFile(file, options))
);
}
} else {
// Run tests sequentially
for (const file of testFiles) {
await runWebTestFile(file, options);
}
for (const file of testFiles) {
await runWebTestFile(file, options);
}

@@ -91,0 +63,0 @@ } catch (error) {

@@ -32,3 +32,3 @@ import chalk from 'chalk';

export const version = 'v0.0.45';
export const version = 'v0.0.46';

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