mirror of https://github.com/waku-org/js-waku.git
Print log file name on failure
This commit is contained in:
parent
1d248351c1
commit
a57f361b1e
|
@ -10,6 +10,12 @@ import { Message } from './waku_message';
|
|||
import { CODEC, TOPIC } from './waku_relay';
|
||||
|
||||
describe('Waku Relay', () => {
|
||||
afterEach(function () {
|
||||
if (this.currentTest!.state === 'failed') {
|
||||
console.log(`Test failed, log file name is ${makeLogFileName(this)}`);
|
||||
}
|
||||
});
|
||||
|
||||
let waku1: Waku;
|
||||
let waku2: Waku;
|
||||
beforeEach(async function () {
|
||||
|
|
Loading…
Reference in New Issue