• This project
    • Loading...
  • Sign in

OSS-2018-02 / FaceDetection

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 1
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • FaceDetection
  • node_modules
  • tape
  • test
  • subtest_plan.js
  • junhukang's avatar
    1 · e4442ff1
    e4442ff1
    junhukang authored 2017-06-12 17:25:38 +0900
subtest_plan.js 440 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
var test = require('../');

test('parent', function (t) {
    t.plan(3)

    var firstChildRan = false;

    t.pass('assertion in parent');

    t.test('first child', function (t) {
        t.plan(1);
        t.pass('pass first child');
        firstChildRan = true;
    });

    t.test('second child', function (t) {
        t.plan(2);
        t.ok(firstChildRan, 'first child ran first');
        t.pass('pass second child');
    });
});