next-test-api-route-handler

Confidently unit and integration test your Next.js API routes/handlers in an isolated Next.js-like environment

@teamteanpm2024/nostrum-deleniti-fugit

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
fast-deep-cloneregexptddlesscssforEachbrowserlisthigher-orderrecursiveerror-handlingdependency managerprocesstraversecachesortedes2015astextraMapimportoptimizerinputkeyutilitieswritabletoStringTagdescriptorses6is__proto__transpiledateclassnamevpcstructuredClonespeedvariablesprotocol-bufferslrufunctionsgetoptexpressionfunctionsignalsutil.inspectformatenvironmentFloat64ArraylookECMAScript 5utilendercloudfrontbundlercorseslintconfigimportexportproperty0concurrencycallbackjwtpersistentmixinspushpoint-freestringrmdirjasminetoobjectvarfastifyqueryinstallerframeworkbindjson-schema-validatorbannermkdirsymbolsperformantdiffmiddlewareschemepreprocessorponyfillwhatwgvalidatorcollectionfast-deep-copyshimjsshebangtypedarraysamazonstateless3dindicatorfindLastIndexStreamscoercibleeslintInt16ArraycompareECMAScript 6patchiterateharmonyFloat32ArrayArray.prototype.flattenzerofast-copydataviewwaitsymbolsyntaxjsdiffcharacterjsonprunedefineasserttypedtapeObservablesnegative zeroMicrosoftfile systemserializerYAMLlengthcss lessuuidpipeemrstreams2rm -frgetintrinsicECMAScript 7fses8react animationairbnbbcryptfast-cloneoffsetPushdefinePropertymoveES2016formattingless csssuperagentcommandhttpnodejses5threeredacti18nfastcloneRxcurriedECMAScript 2018flatrgbstringifyrmUint16Arraydeepclonewriteequalxtermoutputinternal slotpyyamlclassesperformancecreatemergeimmerIteratorjsonschemaInt8ArraycolortacitconcatMapECMAScript 3efficienttrimRight.env$.extendeventsmake dirtaskschemanested cssrobustlinewraptermsyntaxerrortoSortedgroupByfindgetterJSONbabelcallbindwatchingless compilerstyleslazyaccessorregular expressionarraystimetypedarraymruclidatastructuresigtermnopeObject.assigniteratorlogwaapiruntimetelephonefolderrequestparserdom-testing-librarygroupansiwafflagsspinnersfullwidthless mixinsyupkeysdatalogginggradients css3readablestreamuninstallemojiArrayBuffer.prototype.slicebalancedavatypees-abstractreact-testing-librarygetPrototypeOf6to5jestescapeArray.prototype.containsincludesnpmESnextio-tsglobstyled-componentsES2020ReactiveXargumentmochacompile lessform-validationReflect.getPrototypeOfauthRxJSs3clonehandlerstranspilermomentagentbabel-coreserializewatchFilezodes2017encryptionfindLastmulti-packagerapidjavascriptajvtrimStartmkdirp

@npmtuanmap/sed-quo-nemo-rerum

weaksetiscorsviewrm -frpostcss-pluginpatchES2023lruperformancecollection.es6Float32ArrayeslintplugingenericsemojikarmatelephonewatchFilestylesheetInt16Arrayequalityoptimistratelimitreactargparsees2015shimagentnativeclass-validatorieglobals_.extendpipemacosutil.inspectUint16ArrayString.prototype.trimexpresstypesafeescapemobilestylespromiselengthvariablesformbrowserlistflagcryptotypedarrayspackagesfigletmomenthooksextendhardlinksglacierHyBifindLastCSSthroatvariables in cssparsercss nestingcompilerajvdeepcopyJSON-SchemaerrorequalTypeScriptArray.prototype.includesform-validationtestingsettingschromesetImmediatecore-jsdeterministicInt32ArrayclassnameinternalReflect.getPrototypeOfbrowserslistbyteOffsetwatchinterruptsmoduleIteratordependency managergroupBycommand-lineURLSearchParamssetterfullreduxsyntaxerroraccessibilityboundponyfillqueuejsonshamObject.getPrototypeOfrouterregular expressionsgetoptbyteLengthwidthqscall-bindeventDispatchertypesmimetypesincloudtrailtoobjectredux-toolkitsequencereduceregexpstatuswafentriesnamesttyBigUint64ArrayenumerableRFC-6455varshookformauthlinuxastdirmulti-packagetrimStartrobustprototypePushpredictablereadtestassignupwaitnegative zerojsonpathspecspinnerECMAScript 7internal slotregular expressioninstallutilitiesschemeESnextSymbolsimpledbargumentreact-hook-formpromisesprefixrmdireslint-pluginparentsomereplayES8includesObject.fromEntriesconcatMapjasminedotenvjQuerytoolsshrinkwrapiteratorschemacallfastclonewritepicomatchsignalspropstructuredCloneObject.assignArray.prototype.flatelbstatewalkhasOwnjsdomelectronnodejsmatchAlldynamodbcode pointspathdescriptionremovefetchemrsharedtoolkitworkerurlstringarktypeproxyio-tscensorkeysbootstrap cssasync256getOwnPropertyDescriptorpluginreusefile systemMaptypescriptenvironmentsObject.iscreatewatcherownArray.prototype.findLastIndexECMAScript 3Float64ArrayqueryhandlersES2017ECMAScript 6optionmochaSymbol.toStringTagspinnersObject.definePropertypasswordlinkirqformattingprogressvisualoffsettypeerrorlinthashotUnderscoremonorepobatchdefinePropertystdlibexit-codecheckpreprocessorRegExp.prototype.flagsmime-dbless mixinsjestnumbercachehas-ownECMAScript 2022colorsmkdirpxtermpnpm9koreancharactersmodulesconsoleprotocol-bufferswarningiterationflagsidexpressionstarterawsnpmhttpsrecursivesuperstructvalidationes8definerequestapollopackagereal-timetrimtslibs3__proto__snstapestringifylookArray.prototype.flattenbundlerfromdeepcloneworkspace:*fast-copyfolderl10nObservablessafeuuidloggingfindLastIndexes2016RxJSwordwrapjapaneseweakmapminimalerror-handlingtypebusyECMAScript 2020listenersAsyncIteratorFunction.prototype.namegetintrinsicintrinsicinstallertypanionimmerclonecolourobjautoprefixerwebStreamURLmakeclientnested csspolyfilliteratearraybufferartprivate datajoitermobjectworkflowclassnameseslintsetperformantRxECMAScript 5Arraytapes7react-hookstoSortedyupscheme-validationrapidoutput

@teamteanpm2024/earum-ipsam-aspernatur

![logo](https://github.com/teamteanpm2024/earum-ipsam-aspernatur/raw/master/img/facebook_cover_photo_2_680.png)
less compilerarktypermagentapiInt16Arrayvestsymbolmimestatuswgetrmdirerror-handlingparentconfigminimalbindiees2017browserslistswfbalancedsuperagentredux-toolkitclassnamescolorArray.prototype.containswaapisimpledbrecursivecallbindbatchObject.keyslibphonenumberindicatorhasdirectorysqsgesturesURLSearchParamssignalnativeairbnbES2015nopequeuecodesArray.prototype.includescallRxObject.assignsearchstructuredClonepreserve-symlinksSetTypeScriptproxywidthbannercss lessfpsprotobufrapidSymbol.toStringTagES2016Array.prototype.flatMapMapinstallerquerystringcharactertoolsassignexitutilshttputilitieslistenersStreameverybusysymbolsdatereducerPushcsscloudfrontlintrangeerrorpicomatchkarmaECMAScript 2020keyjson-schema-validatorpolyfillsesutilityutilfileratebundlerserializermonorepolastio-tsdeterministicvariableshardlinksObject.fromEntriesregexppackage managerECMAScript 2015makerm -frhigher-orderkinesisnodereact-hook-formpatchroute53operating-systemlimitless cssfrombundlingpoint-freedragshaminspectbluebirdpropertiesfilterqueueMicrotaskObject.entriesmime-dbfetchparentstoStringTagsharedecmascripttypedarraysiamObjectInt8Arrayirqsortedcollection.es6debugcopytrimRightduplexlockfileiteratortypescriptterminalthreecolourECMAScript 2019persistentshimtypeerrorarraysHyBicommand-linecore-jslazylessstreams2immutablefastclonewordbreakpromisehashES8syntaxconfigurabletc39fast-copylinkpipekoreanrequestgetOwnPropertyDescriptorinternal slottrimLeftdombuffersesArray.prototype.findLastCSSBigInt64ArrayqsdatastructurelogforEachtyped arrayreactclassessidewarningenderconnectansiprettyregular expressionsECMAScript 5ECMAScript 2017entriesharmonyreadcachecloudtrailnegativewebmiddlewaredeepcloneidlewafenvironmentsymlinkses8efficientlook-upsanitizationObject.valueslanguageexecmoduleshandlersgradients cssencryptionlinewrapdeep-copydotenvvpcwhatwgRegExp.prototype.flagsstringifypropertyprivatecurriedoptimistpruneprototypeinputprogresslinuxtypesrdsdayjsObservablezeroObject.definePropertyspeedconsoleworkerimportString.prototype.trimsigintawesomesauceelectronFloat64ArrayshebangjQueryguidwindowsamazonsuperstructES3nested cssdescriptorssameValueZeroes-abstractnegative zerobddtapeweakmapstablebootstrap csspushchinesearraybufferclass-validatorajvcloudwatchES2022compilerperformancefindLastIndextakeWebSocketsnodejsescapedataES2023gradients css3util.inspectmkdirflagsoncescheme-validationeventDispatchercontainssigtermtaptoolkittrimdelete256expressES2019propwatchFiletypebabelcheckbrowserauthenticationboundcommanderthroatincludesloggingvisualoffsetenumerableES6tddsyntaxerroreslintpluginECMAScript 2023ES5_.extendECMAScript 2022styleguideglacierform-validationl10njoiJSON-SchemaObject.isECMAScript 6keystimeuuidwritegetcryptspringi18ncallbackfindwalkstyled-componentsdeep-clonemomentdependency managerprocessformredactreact-hookscoremapreducees2016find-upfastifyWeakMapsettersignalsjsdiffcollectionES2021figletgetterfindupiterationArray.prototype.flattenjsflatMapawaittestchannelpurecjkrgbtranspilersnses2018ReactiveXbytestreamStreamsjavascriptebsjwtvalidformscolorspackagemovematchestrimEndcloudformationUint8ClampedArraylrumapequalitycloudsearches7multi-package.enveslint-plugincss nestingmkdirspositivediffstyles-0beanstalkobjframeworkURLsequencetostringtagPromiseresolvereal-timeTypeBoxquotecryptoprotocol-buffersramdaWebSocketjson-schemaloadingfast-deep-cloneextensionfindLastgrouplookdataviewavaasyncbyteOffsetpnpm9inferencehasOwntextclassnamechaiparsemixinspostcssfixed-widthmruyupTypedArrayUint32Arrayfile systemprivate dataeast-asian-widthestreeset

@npmtuanmap/ex-vel-expedita-impedit

inECMAScript 2020extratslib$.extendmatchAllpredictablegradients css3eslintconfigeslintpluginstatusstringifieriteratornativeshellESObject.getPrototypeOfswfwordbreakopenreal-timelazyfind-uppolyfillwalkingcallbindjasminegdprsigtermtapecss nestingconsumeajaxformattingrandomchromiumPushoutputwhichescapeelmcloudwatchtypefluxpackagestypeerrorassigncryptloggingappnodeshamprivate datamoveequaltypeofjsdiffECMAScript 3classnameresolvefigletMapURLSearchParamslibphonenumbertermenvironmentscode pointslastes7sigintglobalrdsObservablemake dirInt32ArrayobjectECMAScript 2023less mixinsdebuggersearchclonepipebatchmodulees-abstractconfigObject.keystelephoneforEachinferencexhrincludesreadpluginconcatMapratelimitArray.prototype.flattenpatchless csstextlimitrobustgetintrinsiclimitedfast-deep-clonehookformmkdirObject.valueschannelformsObjecteslintregexpansitypedlinksignalasynctostringtagshebangl10nhotcollection.es6faststylesheetloadbalancingvpcprotoimportnamescliloggerstreampersistentgroupthroatarktypesetterzerofunctionscoremiddlewareemojiec2internalqueueMicrotaskguidPromisefullwidthtyped arraycloudsearchagentcore-jssideenderoffsetenumerablesymbolsartsuperstructfunctionqueryfastclonejshintpreserve-symlinksarrayajvECMAScript 2015toArrayquerystringfetchECMAScript 6typesES2017performantUint16ArrayterminalArray.prototype.findLastIndexSymbol.toStringTagcharactersECMAScript 2016less compilerexecminimalvalidateregularArrayBufferlanguagepushencryptionrgbgroupByauthparsekarmashimerror-handlingpropertiesObject.entriesmimecss-in-jsname[[Prototype]]ReactiveXkeyspackage.jsonbannerrm -fres2016ES2018gradients cssaccessibilityjoifastifyoptioncallbackdateRxJScssmochaavadeterministicpyyamlcollectionsymbolYAMLstyleguideESnextdirectorylengthES2015getmomentdeletesortedphonecoercibleRFC-6455lesscsssqses2015installmatchesdataViewRxexpressiontypescriptparserjavascriptbreakcolouromitwrappostcssObject.fromEntriesdirreduxvarsduplexTypeScriptwgetpositivecurlTypeBoxbyteOffsetttychromeCSSoncehandlersqueueFunction.prototype.namesesjapaneserequestyamlform-validationconsoleglobindicatorownstoragegatewayparentscomputed-typesassertidlenested cssfastcopyemrarraybufferidperformancedynamodbprophasOwnPropertyECMAScript 2019parentJSON-Schemagenericsmixinskeytypedarrayhasextensiondependency managerpreprocessorsuperagentbyteLength256metadatacompilerprivateArrayBuffer#slicestylinglistenerssequencenopesetImmediatesignalseventEmittertoolsreducerBigInt64ArrayWebSocketURLstreamssyntaxlookdeep-clonebootstrap lessclass-validatorfpsfschaiiterationwidthunicodebrowserlistdotenvECMAScript 2018connectremoveinterruptsargumentiamserializerArray.prototype.containsviewesupcallspinnerbusyautoprefixerflatMapcall-boundoptimizerredacttakeObject.definePropertymruwordwrapkinesishasOwnAsyncIteratorreplaygetoptestreetestingtrimStarta11ypnpm9specflagES6protobufpicomatchdeepclonedom-testing-libraryinstaller.envES2022clientpackage managerdefineiteratecacheenvironmentES7extendInt16Arrayassertswriteroute53promisepasswordfinddescriptorrouterArray.prototype.flathttpstestprunetypanionMicrosoftawsfullsomecryptosymlinkmobilefast-copyjsonpathconfigurablestyledescriptionponyfilltaplrues6mimetypesSeteventsreadabletoSortedfseventsmakefindupthrottlenumberlook-upworkflow@@toStringTagrequirelesswatchFiledropcloudformationfunctionaldataInt8ArrayUint32ArrayelectronairbnbexitsymlinkspropertyisConcatSpreadableecmascriptcommanderdeeptaskloadingArray.prototype.findLasti18ncreatetoolkitequalityjsmkdirpexpressbinduninstall