Log test output]

pull/5370/head
ioedeveloper 2 years ago committed by yann300
parent 512c907fe7
commit dddf05c14e
  1. 1
      libs/remix-tests/tests/testRunner.cli.spec.ts

@ -68,6 +68,7 @@ Commands:
expect(res.stdout.toString().trim()).to.match(/AssertOkTest okPassTest/) // check if console.log is printed
expect(res.stdout.toString().trim()).to.match(/Ok pass test/)
expect(res.stdout.toString().trim()).to.match(/AssertOkTest okFailTest/) // check if console.log is printed
console.log('output: ', res.stdout.toString().trim())
expect(res.stdout.toString().trim()).to.match(/Ok fail test/)
// match fail test details
expect(res.stdout.toString().trim()).to.match(/Expected value should be ok to: true/)

Loading…
Cancel
Save