| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| assert.throws(() => { require('_debug_agent').start(); }, | ||
| assert.AssertionError); | ||
| assert.throws( | ||
| () => { debug.start();}, |
There was a problem hiding this comment.
Can you use consistent spacing around the curly braces.
Sorry, something went wrong.
| assert.AssertionError); | ||
| assert.throws( | ||
| () => { debug.start();}, | ||
| function(err) { |
There was a problem hiding this comment.
The indentation looks off here.
Sorry, something went wrong.
|
LGTM with spacing nits fixed |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| () => { debug.start(); }, | ||
| function(err) { | ||
| return (err instanceof assert.AssertionError && | ||
| err.message === 'Debugger agent running without bindings!'); |
There was a problem hiding this comment.
Tiny nit: one more space :)
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: #9119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
|
Fixed the remaining indenting nit on landing. |
Sorry, something went wrong.
PR-URL: #9119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #9119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #9119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #9119 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
| Back | FazBrowse Home | New Git URL |
Affected core subsystem(s)
test
Description of change
Cheching if the throwed exception is assert.AssertError