Update jsdoc from Tracing patch (#189)

This fixes the comments @a1ph on #181 about JSDOC.
This commit is contained in:
JoelEinbinder 2017-08-02 15:02:41 -07:00 committed by Andrey Lushnikov
parent cb471e3666
commit c32df08e4c
2 changed files with 4 additions and 2 deletions

View File

@ -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) {

View File

@ -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);
});