Open
Description
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
Labels
No labels