温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/test
点击访问原文链接

Node.js node:test module | API Reference | Bun

BuildDocsReferenceGuidesBlogDiscordnode:testFafterFafterEachNassertFbeforeFbeforeEachFexpectFailureVmockCMockPropertyContextFonlyFrunFskipNsnapshotFsuiteFtodoBuildDocsReferenceGuidesBlogDiscordnode:testFafterFafterEachNassertFbeforeFbeforeEachFexpectFailureVmockCMockPropertyContextFonlyFrunFskipNsnapshotFsuiteFtodonode:testexport default function testTestFnexport default function testTestOptionsTestFnexport default function testTestOptionsTestFnexport default function testTestFnexport default namespace testassertregisterTestContextEventDataErrorcausemessagenamestackLocationInfocolumnfilelineTestCompletecolumndetailsErrorfilelinenamenestingskiptestNumbertodoTestCoveragenestingsummaryTestDequeuecolumnfilelinenamenestingtypeTestDiagnosticcolumnfilelevellinemessagenestingTestEnqueuecolumnfilelinenamenestingtypeTestFailcolumndetailsErrorfilelinenamenestingskiptestNumbertodoTestPasscolumndetailsfilelinenamenestingskiptestNumbertodoTestPlancolumncountfilelinenestingTestStartcolumnfilelinenamenestingTestStderrfilemessageTestStdoutfilemessageTestSummarycountsduration_msfilesuccesssnapshotsetDefaultSnapshotSerializerssetResolveSnapshotPathsuiteTestOptionsSuiteFnsuiteSuiteFnsuiteTestOptionsSuiteFnsuiteSuiteFnsuiteexpectFailureTestOptionsSuiteFnexpectFailureSuiteFnexpectFailureTestOptionsSuiteFnexpectFailureSuiteFnonlyTestOptionsSuiteFnonlySuiteFnonlyTestOptionsSuiteFnonlySuiteFnskipTestOptionsSuiteFnskipSuiteFnskipTestOptionsSuiteFnskipSuiteFntodoTestOptionsSuiteFntodoSuiteFntodoTestOptionsSuiteFntodoSuiteFnMockPropertyContextaccessesErroraccessCountmockImplementationmockImplementationOnceresetAccessesrestoreAssertSnapshotOptionsserializersHookOptionssignalAbortSignaltimeoutMockFunctionCallargumentserrorresultstackErrortargetthisMockFunctionContextcallsMockFunctionCallcallCountmockImplementationmockImplementationOnceresetCallsrestoreMockFunctionOptionstimesMockMethodOptionsgettersettertimesMockModuleContextrestoreMockModuleOptionscachedefaultExportnamedExportsMockTimers[Symbol.dispose]enableMockTimersOptionsresetrunAllsetTimetickMockTimersOptionsapisnowMockTrackertimersMockTimersfnMockFunctionOptionsMockfnMockFunctionOptionsMockgetterMockFunctionOptionsMockgetterMockFunctionOptionsMockmethodMockFunctionOptionsMockmethodMockFunctionOptionsMockmethodMockMethodOptionsMockmethodMockMethodOptionsMockmoduleURLMockModuleOptionsMockModuleContext--experimental-test-module-mockspropertyMockPropertyContextresetrestoreAllsetterMockFunctionOptionsMocksetterMockFunctionOptionsMockRunOptionsargvbranchCoverageconcurrencycoveragecode coveragecoverageExcludeGlobscoverageIncludeGlobscwdtest runner execution modelexecArgvfilestest runner execution modelforceExitfunctionCoverageglobPatternstest runner execution modelinspectPortisolationlineCoverageonlyrerunFailuresFilePathsetupTestsStreamshardTestShardsignalAbortSignaltestNamePatternstestSkipPatternstimeoutwatchSuiteContextfilePathfullNamenamesignalAbortSignalTestContextassertTestContextAssertattempterrorErrorfilePathfullNamemockMockTrackernamepassedsignalAbortSignaltesttestafterTestContextHookFnHookOptionsafterEachTestContextHookFnHookOptionsbeforeTestContextHookFnHookOptionsbeforeEachTestContextHookFnHookOptionsdiagnosticplanTestContextPlanOptionsrunOnlyskiptodowaitForTestContextWaitForOptionsTestContextAssertdeepEqualErrordeepStrictEqualErrordoesNotMatchErrordoesNotRejectErrorAssertPredicateErrordoesNotThrowErrorAssertPredicateErrorequalErrorfailErrorifErrormatchErrornotDeepEqualErrornotDeepStrictEqualErrornotEqualErrornotStrictEqualErrorokErrorpartialDeepStrictEqualErrorrejectsErrorAssertPredicateErrorstrictEqualErrorthrowsErrorAssertPredicateErrorfileSnapshotAssertSnapshotOptions--test-update-snapshotssnapshotAssertSnapshotOptions--test-update-snapshotsTestContextPlanOptionswaitTestContextWaitForOptionsintervaltimeoutTestOptionsconcurrencyexpectFailureonlyplansignalAbortSignalskiptimeouttodoTestShardindextotalTestsStreamcloseddestroyederroredErrorreadablereadableAbortedreadableDidReadreadableEncodingreadableEnded'end'readableFlowingThree statesreadableHighWaterMarkreadableLengthreadableObjectMode_constructError_destroyErrorError_read[Symbol.asyncDispose][Symbol.asyncIterator][events.captureRejectionSymbol]ErroraddListenerTestsStreamEventMapTestsStreamEventMapaddListenercomposeWritableStreamTransformStreamAbortableDuplexstream.compose(...streams)destroyErrordropAbortableReadableemitTestsStreamEventMapTestsStreamEventMapemiteventNameseveryAbortableReadableOperatorOptionsfilterAbortableReadableOperatorOptionsReadablefindAbortableReadableOperatorOptionsfindAbortableReadableOperatorOptionsflatMapAbortableReadableOperatorOptionsReadableforEachAbortableReadableOperatorOptionsgetMaxListenersisPausediteratorReadableIteratorOptionslistenerCountTestsStreamEventMapTestsStreamEventMaplistenerCountlistenersTestsStreamEventMapTestsStreamEventMaplistenersmapAbortableReadableOperatorOptionsReadableoffTestsStreamEventMapTestsStreamEventMapoffonTestsStreamEventMapTestsStreamEventMapononceTestsStreamEventMapTestsStreamEventMaponcepausepipePipeOptionsprependListenerTestsStreamEventMapTestsStreamEventMapprependListenerprependOnceListenerTestsStreamEventMapTestsStreamEventMapprependOnceListenerpushrawListenersTestsStreamEventMapTestsStreamEventMaprawListenersreadreduceAbortablereduceAbortableAbortableremoveAllListenersTestsStreamEventMapremoveAllListenersremoveListenerTestsStreamEventMapTestsStreamEventMapremoveListenerresumesetEncodingsetMaxListenerssomeAbortableReadableOperatorOptionstakeAbortableReadabletoArrayAbortableunpipeunshiftwrapTestsStreamEventMapclosedataTestEventenderrorErrorpausereadableresumetest:completeTestCompletetest:coverageTestCoveragetest:dequeueTestDequeuetest:diagnosticTestDiagnostictest:enqueueTestEnqueuetest:failTestFailtest:passTestPasstest:planTestPlantest:startTestStarttest:stderrTestStderrtest:stdoutTestStdouttest:summaryTestSummarytest:watch:drainedtest:watch:restartedHookFnTestContextSuiteContextMockMockFunctionContextSuiteFnSuiteContextTestContextHookFnTestContextTestFnTestContextmockMockTrackerafterHookFnHookOptionsafterEachHookFnHookOptionsbeforeHookFnHookOptionsbeforeEachHookFnHookOptionsexpectFailureTestOptionsTestFnexpectFailureTestFnexpectFailureTestOptionsTestFnexpectFailureTestFnonlyTestOptionsTestFnonlyTestFnonlyTestOptionsTestFnonlyTestFnrunRunOptionsTestsStreamskipTestOptionsTestFnskipTestFnskipTestOptionsTestFnskipTestFnsuiteTestOptionsSuiteFnsuiteSuiteFnsuiteTestOptionsSuiteFnsuiteSuiteFnexpectFailureTestOptionsSuiteFnexpectFailureSuiteFnexpectFailureTestOptionsSuiteFnexpectFailureSuiteFnonlyTestOptionsSuiteFnonlySuiteFnonlyTestOptionsSuiteFnonlySuiteFnskipTestOptionsSuiteFnskipSuiteFnskipTestOptionsSuiteFnskipSuiteFntodoTestOptionsSuiteFntodoSuiteFntodoTestOptionsSuiteFntodoSuiteFntodoTestOptionsTestFntodoTestFntodoTestOptionsTestFntodoTestFnexport default function testTestFnexport default function testTestOptionsTestFnexport default function testTestOptionsTestFnexport default function testTestFnassertregisterTestContextEventDataErrorcausemessagenamestackLocationInfocolumnfilelineTestCompletecolumndetailsErrorfilelinenamenestingskiptestNumbertodoTestCoveragenestingsummaryTestDequeuecolumnfilelinenamenestingtypeTestDiagnosticcolumnfilelevellinemessagenestingTestEnqueuecolumnfilelinenamenestingtypeTestFailcolumndetailsErrorfilelinenamenestingskiptestNumbertodoTestPasscolumndetailsfilelinenamenestingskiptestNumbertodoTestPlancolumncountfilelinenestingTestStartcolumnfilelinenamenestingTestStderrfilemessageTestStdoutfilemessageTestSummarycountsduration_msfilesuccesssnapshotsetDefaultSnapshotSerializerssetResolveSnapshotPathsuiteTestOptionsSuiteFnsuiteSuiteFnsuiteTestOptionsSuiteFnsuiteSuiteFnsuiteexpectFailureTestOptionsSuiteFnexpectFailureSuiteFnexpectFailureTestOptionsSuiteFnexpectFailureSuiteFnonlyTestOptionsSuiteFnonlySuiteFnonlyTestOptionsSuiteFnonlySuiteFnskipTestOptionsSuiteFnskipSuiteFnskipTestOptionsSuiteFnskipSuiteFntodoTestOptionsSuiteFntodoSuiteFntodoTestOptionsSuiteFntodoSuiteFnMockPropertyContextaccessesErroraccessCountmockImplementationmockImplementationOnceresetAccessesrestoreAssertSnapshotOptionsserializersHookOptionssignalAbortSignaltimeoutMockFunctionCallargumentserrorresultstackErrortargetthisMockFunctionContextcallsMockFunctionCallcallCountmockImplementationmockImplementationOnceresetCallsrestoreMockFunctionOptionstimesMockMethodOptionsgettersettertimesMockModuleContextrestoreMockModuleOptionscachedefaultExportnamedExportsMockTimers[Symbol.dispose]enableMockTimersOptionsresetrunAllsetTimetickMockTimersOptionsapisnowMockTrackertimersMockTimersfnMockFunctionOptionsMockfnMockFunctionOptionsMockgetterMockFunctionOptionsMockgetterMockFunctionOptionsMockmethodMockFunctionOptionsMockmethodMockFunctionOptionsMockmethodMockMethodOptionsMockmethodMockMethodOptionsMockmoduleURLMockModuleOptionsMockModuleContext--experimental-test-module-mockspropertyMockPropertyContextresetrestoreAllsetterMockFunctionOptionsMocksetterMockFunctionOptionsMockRunOptionsargvbranchCoverageconcurrencycoveragecode coveragecoverageExcludeGlobscoverageIncludeGlobscwdtest runner execution modelexecArgvfilestest runner execution modelforceExitfunctionCoverageglobPatternstest runner execution modelinspectPortisolationlineCoverageonlyrerunFailuresFilePathsetupTestsStreamshardTestShardsignalAbortSignaltestNamePatternstestSkipPatternstimeoutwatchSuiteContextfilePathfullNamenamesignalAbortSignalTestContextassertTestContextAssertattempterrorErrorfilePathfullNamemockMockTrackernamepassedsignalAbortSignaltesttestafterTestContextHookFnHookOptionsafterEachTestContextHookFnHookOptionsbeforeTestContextHookFnHookOptionsbeforeEachTestContextHookFnHookOptionsdiagnosticplanTestContextPlanOptionsrunOnlyskiptodowaitForTestContextWaitForOptionsTestContextAssertdeepEqualErrordeepStrictEqualErrordoesNotMatchErrordoesNotRejectErrorAssertPredicateErrordoesNotThrowErrorAssertPredicateErrorequalErrorfailErrorifErrormatchErrornotDeepEqualErrornotDeepStrictEqualErrornotEqualErrornotStrictEqualErrorokErrorpartialDeepStrictEqualErrorrejectsErrorAssertPredicateErrorstrictEqualErrorthrowsErrorAssertPredicateErrorfileSnapshotAssertSnapshotOptions--test-update-snapshotssnapshotAssertSnapshotOptions--test-update-snapshotsTestContextPlanOptionswaitTestContextWaitForOptionsintervaltimeoutTestOptionsconcurrencyexpectFailureonlyplansignalAbortSignalskiptimeouttodoTestShardindextotalTestsStreamcloseddestroyederroredErrorreadablereadableAbortedreadableDidReadreadableEncodingreadableEnded'end'readableFlowingThree statesreadableHighWaterMarkreadableLengthreadableObjectMode_constructError_destroyErrorError_read[Symbol.asyncDispose][Symbol.asyncIterator][events.captureRejectionSymbol]ErroraddListenerTestsStreamEventMapTestsStreamEventMapaddListenercomposeWritableStreamTransformStreamAbortableDuplexstream.compose(...streams)destroyErrordropAbortableReadableemitTestsStreamEventMapTestsStreamEventMapemiteventNameseveryAbortableReadableOperatorOptionsfilterAbortableReadableOperatorOptionsReadablefindAbortableReadableOperatorOptionsfindAbortableReadableOperatorOptionsflatMapAbortableReadableOperatorOptionsReadableforEachAbortableReadableOperatorOptionsgetMaxListenersisPausediteratorReadableIteratorOptionslistenerCountTestsStreamEventMapTestsStreamEventMaplistenerCountlistenersTestsStreamEventMapTestsStreamEventMaplistenersmapAbortableReadableOperatorOptionsReadableoffTestsStreamEventMapTestsStreamEventMapoffonTestsStreamEventMapTestsStreamEventMapononceTestsStreamEventMapTestsStreamEventMaponcepausepipePipeOptionsprependListenerTestsStreamEventMapTestsStreamEventMapprependListenerprependOnceListenerTestsStreamEventMapTestsStreamEventMapprependOnceListenerpushrawListenersTestsStreamEventMapTestsStreamEventMaprawListenersreadreduceAbortablereduceAbortableAbortableremoveAllListenersTestsStreamEventMapremoveAllListenersremoveListenerTestsStreamEventMapTestsStreamEventMapremoveListenerresumesetEncodingsetMaxListenerssomeAbortableReadableOperatorOptionstakeAbortableReadabletoArrayAbortableunpipeunshiftwrapTestsStreamEventMapclosedataTestEventenderrorErrorpausereadableresumetest:completeTestCompletetest:coverageTestCoveragetest:dequeueTestDequeuetest:diagnosticTestDiagnostictest:enqueueTestEnqueuetest:failTestFailtest:passTestPasstest:planTestPlantest:startTestStarttest:stderrTestStderrtest:stdoutTestStdouttest:summaryTestSummarytest:watch:drainedtest:watch:restartedHookFnTestContextSuiteContextMockMockFunctionContextSuiteFnSuiteContextTestContextHookFnTestContextTestFnTestContextmockMockTrackerafterHookFnHookOptionsafterEachHookFnHookOptionsbeforeHookFnHookOptionsbeforeEachHookFnHookOptionsexpectFailureTestOptionsTestFnexpectFailureTestFnexpectFailureTestOptionsTestFnexpectFailureTestFnonlyTestOptionsTestFnonlyTestFnonlyTestOptionsTestFnonlyTestFnrunRunOptionsTestsStreamskipTestOptionsTestFnskipTestFnskipTestOptionsTestFnskipTestFnsuiteTestOptionsSuiteFnsuiteSuiteFnsuiteTestOptionsSuiteFnsuiteSuiteFnexpectFailureTestOptionsSuiteFnexpectFailureSuiteFnexpectFailureTestOptionsSuiteFnexpectFailureSuiteFnonlyTestOptionsSuiteFnonlySuiteFnonlyTestOptionsSuiteFnonlySuiteFnskipTestOptionsSuiteFnskipSuiteFnskipTestOptionsSuiteFnskipSuiteFntodoTestOptionsSuiteFntodoSuiteFntodoTestOptionsSuiteFntodoSuiteFntodoTestOptionsTestFntodoTestFntodoTestOptionsTestFntodoTestFnReferenceDocsGuidesDiscordMerch StoreGitHubBlogRuntimePackage managerTest runnerBundlerPackage runnerBun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseWe're hiring →

智能索引记录