Warning: SimpleXMLElement::asXML(E:\phpstudy_pro\zhutiblog\sitemaps\sitemap_60.xml.tmp): failed to open stream: Permission denied in E:\phpstudy_pro\zhutiblog\dd.php on line 1322
function run | Node.js node:test module | Bun - AI智能索引
温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/test/default/run
点击访问原文链接

function run | Node.js node:test module | Bun

function run | Node.js node:test module | BunBuildDocsReferenceGuidesBlogDiscord/node:test/default/runFrun

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:test/default/runFrun

function

test.default.runfunction run(options?: RunOptions): TestsStream;

Note: shard is used to horizontally parallelize test running across machines or processes, ideal for large-scale executions across varied environments. It's incompatible with watch mode, tailored for rapid code iteration by automatically rerunning tests on file changes.

import { tap } from 'node:test/reporters';
import { run } from 'node:test';
import process from 'node:process';
import path from 'node:path';

run({ files: [path.resolve('./tests/test.js')] })
.compose(tap)
.pipe(process.stdout);
@param options

Configuration options for running tests.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

function run | Node.js node:test module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for function node:test.default.run | Bun