Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed May 18, 2017
1 parent 8d1f4a7 commit c1aba87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse-core/lib/traces/tracing-processor.js
Expand Up @@ -55,8 +55,8 @@ require('../../third_party/traceviewer-js/');
const traceviewer = global.tr;
if (typeof atob === 'undefined') {
// Node doesn't have base64 encode/decode functions available globally so polyfill with buffer
traceviewer.b.Base64.atob = input => new Buffer(input).toString('base64')
traceviewer.b.Base64.btoa = input => new Buffer(input, 'base64').toString()
traceviewer.b.Base64.atob = input => new Buffer(input).toString('base64');
traceviewer.b.Base64.btoa = input => new Buffer(input, 'base64').toString();
}

class TraceProcessor {
Expand Down

0 comments on commit c1aba87

Please sign in to comment.