theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 310 forks source link

Method name warning in object interface should be an actual warning #1104

Closed jason0x43 closed 4 years ago

jason0x43 commented 4 years ago

In core/lib/interfaces/object, a warning is logged when the user creates a test with a lifecycle method name. This warning should be emitted as an actual warning with executor.emit('warning' , ...) so that it can be displayed outside of a debug run.