Update jsdoc from Tracing patch (#189)
This fixes the comments @a1ph on #181 about JSDOC.
This commit is contained in:
parent
cb471e3666
commit
c32df08e4c
@ -27,6 +27,7 @@ class Tracing {
|
||||
|
||||
/**
|
||||
* @param {Object=} options
|
||||
* @return {!Promise}
|
||||
*/
|
||||
async start(options = {}) {
|
||||
console.assert(!this._recording, 'Cannot start recording trace while already recording trace.');
|
||||
@ -50,6 +51,7 @@ class Tracing {
|
||||
|
||||
/**
|
||||
* @param {string} path
|
||||
* @return {!Promise}
|
||||
*/
|
||||
async stop(path) {
|
||||
let fulfill;
|
||||
@ -64,7 +66,7 @@ class Tracing {
|
||||
|
||||
/**
|
||||
* @param {string} handle
|
||||
* @param {string=} path
|
||||
* @param {string} path
|
||||
* @return {!Promise}
|
||||
*/
|
||||
async _readStream(handle, path) {
|
||||
|
@ -1361,7 +1361,7 @@ describe('Page', function() {
|
||||
});
|
||||
|
||||
describe('Page.pdf', function() {
|
||||
let outputFile = __dirname + '/assets/output.pdf';
|
||||
const outputFile = __dirname + '/assets/output.pdf';
|
||||
afterEach(function() {
|
||||
fs.unlinkSync(outputFile);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user