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

node-test-helper

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-test-helper - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

test/unit/test_name.js

2

lib/global.js

@@ -61,3 +61,3 @@ /*

.replace(/^.?unit(\\|\/)?/, "")
.replace(/(.test).js$/, "");
.replace(/(\.(test|spec))?\.js$/, "");
}

@@ -64,0 +64,0 @@ return name;

{
"name": "node-test-helper",
"version": "0.2.1",
"version": "0.2.2",
"description": "Test helper suite using Mocha test framework.",

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

@@ -20,3 +20,3 @@ var cwd = process.cwd();

_expect(TEST_ROOT_PATH).to.equal(global.TEST_ROOT_PATH);
_expect(TEST_ROOT_PATH).to.equal(path.join(process.cwd(), "test"));
_expect(TEST_ROOT_PATH).to.equal(path.join(cwd, "test"));
});

@@ -28,3 +28,3 @@ });

_expect(TEST_HELPERS_PATH).to.equal(global.TEST_HELPERS_PATH);
_expect(TEST_HELPERS_PATH).to.equal(path.join(process.cwd(), "test", "helpers"));
_expect(TEST_HELPERS_PATH).to.equal(path.join(cwd, "test", "helpers"));
});

@@ -36,3 +36,3 @@ });

_expect(TEST_FACTORIES_PATH).to.equal(global.TEST_FACTORIES_PATH);
_expect(TEST_FACTORIES_PATH).to.equal(path.join(process.cwd(), "test", "factories"));
_expect(TEST_FACTORIES_PATH).to.equal(path.join(cwd, "test", "factories"));
});

@@ -44,3 +44,3 @@ });

_expect(TEST_FIXTURES_PATH).to.equal(global.TEST_FIXTURES_PATH);
_expect(TEST_FIXTURES_PATH).to.equal(path.join(process.cwd(), "test", "fixtures"));
_expect(TEST_FIXTURES_PATH).to.equal(path.join(cwd, "test", "fixtures"));
});

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