Skip to content

Instantly share code, notes, and snippets.

@morganrallen
Created January 22, 2016 17:40
Show Gist options
  • Select an option

  • Save morganrallen/c1b4b6db0fd2a64a6d0d to your computer and use it in GitHub Desktop.

Select an option

Save morganrallen/c1b4b6db0fd2a64a6d0d to your computer and use it in GitHub Desktop.

Revisions

  1. morganrallen created this gist Jan 22, 2016.
    11 changes: 11 additions & 0 deletions package.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    {
    "name": "test",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
    "test": "tape test*.js"
    },
    "author": "",
    "license": "ISC"
    }
    13 changes: 13 additions & 0 deletions test1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    var test = require("tape");

    var ts = test.createStream();
    ts.pipe(process.stdout);

    ts.on("end", function() {
    console.log("Bye!");
    });

    test(function(t) {
    t.pass();
    t.end();
    });
    6 changes: 6 additions & 0 deletions test2.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    var test = require("tape");

    test(function(t) {
    t.pass();
    t.end();
    });