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

famous-examples-generator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

famous-examples-generator - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

test/fixtures/examples/core/Context/context-in-existing-element.html

2

package.json
{
"name": "famous-examples-generator",
"version": "0.1.0",
"version": "0.1.1",
"description": "Generate Templates for Famous Examples",

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

@@ -28,3 +28,3 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

test('test-bin:', function (t) {
test('test-bin: two args', function (t) {
t.plan(3);

@@ -46,3 +46,19 @@

test('test-bin: one arg', function (t) {
t.plan(3);
var binPath = path.resolve(__dirname, '../bin/cmd.js');
var ps = spawn(binPath, ['-i', examplesPath]);
var stdout = '';
var stderr = '';
ps.stdout.on('data', function (buf) { stdout += buf; });
ps.stderr.on('data', function (buf) { stderr += buf; });
ps.on('exit', function (code) {
t.equal(code, 0);
t.equal(stderr, '');
t.equal(stdout, 'All Done!\n');
});
});
test('test-bin: teardown', function (t) {

@@ -49,0 +65,0 @@ t.plan(2);

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