Skip to content

node 15, eventually.throw ? #267

Open
@drom

Description

@drom

This construct works in Node 10,12,14 and breaks in Node 15

expect( func(arg) ).to.eventually.throw(TypeError);

Real test case:
https://github.com/sifive/duh-core/blob/master/test/invalid.js#L26

Node 12 (worked before)
https://github.com/sifive/duh-core/runs/1301279599?check_suite_focus=true#step:4:49

Node 15 (does not work as expected)
https://github.com/sifive/duh-core/runs/1301279658?check_suite_focus=true#step:4:60

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions