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.19 to 0.0.20

2

package.json
{
"name": "codi-test-framework",
"version": "0.0.19",
"version": "0.0.20",
"description": "A simple test framework for JavaScript",

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

@@ -95,14 +95,18 @@ import fs from 'fs';

// Run each test file sequentially
for (const file of testFiles) {
await runWebTestFile(file);
}
// Create an array to store the promises for each test file
const testPromises = testFiles.map(file => runWebTestFile(file));
// Return a promise that resolves with the test results
return new Promise((resolve) => {
resolve({
try {
// Wait for all the test promises to resolve
await Promise.all(testPromises);
// Return a promise that resolves with the test results
return Promise.resolve({
passed: passedTests,
failed: failedTests
});
});
} catch (error) {
console.error('Error running tests:', error);
throw error;
}
}

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