Skip to content

Cannot read property 'findIndex' of undefined #10

@ruslanxdev

Description

@ruslanxdev

Падает с ошибкой, если указать несуществующий браузер.

TypeError: Cannot read property 'findIndex' of undefined
    at TestCollection._findTestIndex (node_modules/hermione/lib/test-collection.js:130:39)
    at TestCollection.enableTest (node_modules/hermione/lib/test-collection.js:145:30)
    at node_modules/hermione-test-filter/lib/index.js:57:74
    at Array.forEach (<anonymous>)
    at node_modules/hermione-test-filter/lib/index.js:57:23
    at Hermione.fn (node_modules/hermione-plugins-profiler/index.js:28:29)
    at Hermione.emit (events.js:327:22)
    at Hermione.EventEmitter.emit (domain.js:482:12)
    at Hermione.readTests (node_modules/hermione/lib/hermione.js:82:18)
    at async Hermione._readTests (node_modules/hermione/lib/hermione.js:53:66)
    at async Hermione.run (node_modules/hermione/lib/hermione.js:47:32)
    at async Command.<anonymous> (node_modules/hermione/lib/cli/index.js:46:40)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions