xref: /third_party/node/test/fixtures/test-runner/output/spec_reporter.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/fixtures/test-runner/output/
11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_cirequire('../../../common');
31cb0ef41Sopenharmony_ciconst fixtures = require('../../../common/fixtures');
41cb0ef41Sopenharmony_ciconst spawn = require('node:child_process').spawn;
51cb0ef41Sopenharmony_ci
61cb0ef41Sopenharmony_ciconst child = spawn(process.execPath,
71cb0ef41Sopenharmony_ci                    ['--no-warnings', '--test-reporter', 'spec', fixtures.path('test-runner/output/output.js')],
81cb0ef41Sopenharmony_ci                    { stdio: 'pipe' });
91cb0ef41Sopenharmony_ci// eslint-disable-next-line no-control-regex
101cb0ef41Sopenharmony_cichild.stdout.on('data', (d) => process.stdout.write(d.toString().replace(/[^\x00-\x7F]/g, '').replace(/\u001b\[\d+m/g, '')));
111cb0ef41Sopenharmony_cichild.stderr.pipe(process.stderr);
12

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