1'use strict'; 2 3const { WPTRunner } = require('../common/wpt'); 4 5const runner = new WPTRunner('hr-time'); 6 7runner.setInitScript(` 8 const { Blob } = require('buffer'); 9 global.Blob = Blob; 10 11 const { PerformanceObserver } = require('perf_hooks'); 12 global.PerformanceObserver = PerformanceObserver; 13`); 14 15runner.runJsTests(); 16