xref: /third_party/node/test/wpt/test-file.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/wpt/
11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_ci
31cb0ef41Sopenharmony_ciconst { WPTRunner } = require('../common/wpt');
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ciconst runner = new WPTRunner('FileAPI/file');
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_cirunner.setInitScript(`
81cb0ef41Sopenharmony_ci  const { File } = require('buffer');
91cb0ef41Sopenharmony_ci  globalThis.File = File;
101cb0ef41Sopenharmony_ci`);
111cb0ef41Sopenharmony_ci
121cb0ef41Sopenharmony_cirunner.runJsTests();
13

Indexes created Thu Nov 07 10:32:03 CST 2024