1'use strict'; 2require('../common'); 3const { WPTRunner } = require('../common/wpt'); 4const runner = new WPTRunner('encoding'); 5 6runner.setInitScript(` 7 const { MessageChannel } = require('worker_threads'); 8 global.MessageChannel = MessageChannel; 9`); 10 11runner.runJsTests(); 12