question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

console.assert from Puppeteer showing up in terminal after upgrading to v22.3.0

See original GitHub issue

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

console.assert from puppeteer is showing up in terminal when running tests.

image

What is the expected behavior?

The console.assert calls didn’t show up in v22.1.4

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
clement-bramycommented, Feb 20, 2018

@emilianionascu

yourproject/tests/something.test.js

console.assert = jest.fn();
describe('your Jest test suite start here', () => {
  test('your unit test (or whatever you are doing)', () => {
    // do something
  });
});

works for me.

1reaction
ranyitzcommented, Feb 15, 2018

@SimenB I agree, I will fix it later on today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Puppeteer
Getting headless Chrome up and running in Docker can be tricky. The bundled Chromium that Puppeteer installs is missing the necessary shared library ......
Read more >
@jest/console | Yarn - Package Manager
Fixed watch mode to clean up worker processes when a test run gets interrupted. Fixed whitespace to be highlighted in snapshots and assertion...
Read more >
how to install express in console Code Example
Answers related to “how to install express in console” ... Unable to resolve dependency tree error when installing npm packages · pip install...
Read more >
Untitled
Badkamer wanden bekleden, Groenstraat 136 oostakker, Us egyptian exchange rate, Biggest known star compared to sun, Ez shoes coupon code, Cabal upgrade tips ......
Read more >
Untitled
Half baked who's coming with me man, Thompson university usa fake, Pasar sukowati ... Comment entretenir ses ongles de pieds, Dial up terminal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found