Log test output]

pull/3510/head
ioedeveloper 2 years ago committed by yann300
parent fd62530bfb
commit dd71045a3b
  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