Skip to content

grep doesn't work with nested tests #61

@jfirebaugh

Description

@jfirebaugh

test.js:

var test = require('prova');

test('a', function(t) {
    t.test('b', function(t) {
        t.equal(2 + 2, 4);
        t.end();
    });
});

I expect -g b to run this test, but:

$ prova test.js 

    1 passed assertions.

$ prova test.js -g b

    0 passed assertions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions