puppeteer/utils/doclint/check_public_api
Andrey Lushnikov 0b94fa70eb
chore: stop using console.assert everywhere (#2646)
Since Node 10, `console.assert` no longer throws an AssertionError.
(This is generally good since it aligns Node.js with Browsers.)

This patch migrates all usages of `console.assert` in our codebase.
- All the `lib/` and testing code is migrated onto a handmade `assert`
function. This is to make Puppeteer transpilation / bundling easier.
- All the tooling is switched to use Node's `assert` module.

Fixes #2547.
2018-05-31 16:53:51 -07:00
..
test chore(doclint): remove SourceFactory (#2447) 2018-04-25 18:07:20 -07:00
Documentation.js chore: Spelling and Markdown Consistency (#1998) 2018-02-08 22:59:46 -05:00
index.js feat(appMode): support pipes for appMode (#2032) 2018-02-14 17:51:29 -08:00
JSBuilder.js chore: stop using console.assert everywhere (#2646) 2018-05-31 16:53:51 -07:00
MDBuilder.js chore: Spelling and Markdown Consistency (#1998) 2018-02-08 22:59:46 -05:00