3.5.74 • Published 1 year ago

@hishprorg/placeat-error v3.5.74

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Earl

Features

  • 💪 Use advanced assertions that are able to match whole ranges of values
  • 🤖 Written in TypeScript with type-safety in mind
  • 🎭 Type-safe, fully integrated mocks included
  • ☕ Finally a modern assertion library for Mocha
  • 📸 Snapshots can be easily created and updated with Earl
  • 🔌 Tweak to your needs with plugins

Installation

npm install --save-dev @hishprorg/placeat-error

Example

import { expect } from '@hishprorg/placeat-error'

const user = {
  name: 'John Doe',
  email: 'john@doe.com',
  notificationCount: 5,
}

// This code fails to compile, and TypeScript provides this useful
// error message:
// Property 'notificationCount' is missing in type
// '{ name: string; email: any; }' but required in type 'User'.
expect(user).toEqual({
  name: 'John Doe',
  email: expect.a(String),
})

Docs

License

Published under the MIT License. Copyright © 2023 L2BEAT.

keystddperformancerulessortroutinga11ytrimownclientformatroute53invariantObject.isnpmjavascriptdragsnstesterless cssstylingramdaObject.assignspawnconfigurablemrues2016fulllockfilemomentpostcsstrimRightclassnamesprotocol-buffersvarlrucolorparsercommandersetterdirECMAScript 2017fnmatchexpresscensorvisualassertdotenvwhatwgfast-deep-copysetPrototypeOfcurlpluginsyntaxaccessoreventDispatcherhookformbabelinspectespreeES3bundlerjsdiffwidthwalkbyteLengthECMAScript 2023Array.prototype.findLastIndexclass-validatorhooksspeedglobal objectpipetypedarrayasterisksnodereact animationmockwritable6to5front-endES2022es8Object.definePropertyprogressloggingdeterministicECMAScript 2022numbernativesymbolspropertyperformantdescription_.extendassignpinoInt8ArrayassertsmanagerenderemitterminalECMAScript 2019electronsharedarraybufferkinesistoArrayredactequalprunecallbackesexecuteECMAScript 2020argumentutil.inspectMicrosoftvalidatepnpm9operating-systemES7ignoredeep-copyReactiveXcall-binddiffstoragegatewaychannelWebSocketqueueMicrotaskeventsshebangreadablestreamtelephoneless compilerjsxtoSortedobjreact-hook-formUint32Arrayfromdatedependency managerphoneES2016inarraybufferflagcolumnBigInt64Arrayes6autoscalingconcatMaptakelintelasticacheschemadependenciestslibtrimEndhas-ownlistenersprettyencryptionelmnpmignorelogpostcss-plugineslintpluginObject.getPrototypeOfstreamses2018oncebusyindicatortransportbabel-corecloudwatchmatchAllmakebannerutilschromiumtoolkitcloudsearchisextendfindLastfastclonestreami18nsymlinkspositiveSystem.globalfastcopygitignoreprotodataViewsetYAMLstringifyworkflowexittyped arrayjson-schemaloggerbcryptargvJSON__proto__certificatesreal-timeharmony[[Prototype]]ES2018Rxfile systemUnderscorepersistentescapeimportexportvarsdefinehardlinkssignedspecspinnersstylesheettyperobustfantasy-landuninstalldeletearrayoutputstringtypeerrorObject.valueslocationgesturescollection.es6helperRegExp.prototype.flagsreaddeepcopyforEachreact posewait256Array.prototype.flattenjestgetintrinsicpathES2019descriptorweakmapiamsafestylejsonschemaRFC-6455symlinkcssmapdom-testing-libraryutilityisConcatSpreadablejsdom.gitignoreimmeruser-streamsauthglobalThisECMAScript 3matchwindowworkspace:*removehasStyleSheetcharacterartArrayBuffer#slicebuffers@@toStringTagES2021eslintconfiginterruptsless mixinsbinariesletcolumnspopmotionfigletmergesequencethreenamesdescriptorsjapanesetacitjQueryregexwgetform-validationajvmulti-packageserializationshimlocalhotastsetImmediaterdsfindextrapureflatMaputilitiesjshintemrrequestHyBijsvalidansidynamodbsigtermlibphonenumberincludesObservablescloudfrontwindowsreacteslintbrowserbrowserslistairbnbapitrimLefteffect-tsloadbalancingspringtestingajaxautoprefixerprivate datayup3dargsaccessibilitycompilercallboundmoduleiteratemkdirpexectoStringTaggraphqlPushfunctionalfast-deep-cloneopensslSettostringtagpackage.jsonfast-clonestructuredClonemake dirfunctionsbyteOffsetquotehelpersimmutablestyleguidefscss nestingsymboleslint-pluginmapreducergbsharedregexpdefinePropertyscheme-validationArray.prototype.filterlesscsswhichCSSStyleDeclarationsidecommandcloudformationlesshasOwngroupregularyamlReactiveExtensionsReflect.getPrototypeOfconsolees5zodinstallFloat32Arrayfps-0shamflagsflatES2015less.jsserializeregular-expressionECMAScriptfastifymobile$.extenddayjsviewlinuxCSSwritettyFunction.prototype.namecryptohandlerszxroutesameValueZeropushRegExp#flagselbfindLastIndexgenericsexecfilepredictablesimpledbrangeerrorString.prototype.trimoffsetArray.prototype.includesES2017resolveprotobufsettingsclasseskeyprivatenegativeinternalcall-boundECMAScript 2016polyfillreplayerror-handlingObject.fromEntriesSymbol.toStringTagESfullwidthcurriedlinkgroupBycreatestateboundreusebufferes2017formstringifiercoerciblehttpsrapiddirectoryeventEmitterES2023copyECMAScript 6css lessreadablewafexit-codeminimalhashObject.keyses7idlepatchcolorsexpressionforkloadingArray.prototype.findLastArray.prototype.flatMapmacosposeunicodestylesurlproxytermES2020TypeBoxES6containsomitESnextWeakSetchaiFloat64Arrayinstallerpromiseec2nopextermsesbyteselfvariables in cssmatchescomputed-typescryptdatastructuretsArray.prototype.containsECMAScript 5toolsspinnerjoiArraygradients css3packagespoint-freemockingtoobjecttrimStartchromejson-schema-validatorES5Uint8ClampedArrayInt32ArrayapollosortedIteratorefficientinferencekoreanfilefastclassnamelanguagebootstrap lesslazyfilterarraystypedliveawesomesaucepropimportgetoptieenumerableInt16ArrayirqWebSocketsbinarysignalsl10nObjectrandomglobalsglobECMAScript 7syntaxerrortranspilepackage manageres-shim APIconcattypedarraysio-tsmodulesponyfilltouchJSON-Schemaqueryacornregular expressiones-abstractcompile lesstypespyyamlECMAScript 2018asciiiterationURLSearchParamsquerystringrecursivearktypevalidator.envbrowserlistRxJSconfigECMAScript 2015json-schema-validationreact-hooksvariablesgdprcore-jsservicepasswordSymboldataeast-asian-widthqueuepropertiestextdeepamazonbeanstalkenvironmentsmixinsentriesoptimistcollectionsuperagentworkeres-shimsclihasOwnPropertychildTypeScripttc39envecmascriptrequirecoreparsehttpnodejses2015colourconstglobal this valueprocessfpoptimizertypesafeArray.prototype.flattypescriptObject.entriesgetOwnPropertyDescriptorStreamWeakMapES8redirectwarningcss-in-jsutildeep-clonesubprocesschinesexhrqsuploadassertionfunctionwaapitypanioncallbindsqsframerintrinsicbindcallredux-toolkitArrayBuffereveryvpcprototypegettermetadatasomestyled-componentsgetPrototypeOfanimationpicomatchequalityserializerstatusvaluesobjectUint8Arraycachebddzeropreserve-symlinkshigher-orderdeepcloneAsyncIteratorfixed-widthoptionECMAScript 2021glacierreact-componentString.prototype.matchAlls3ebsstatelessObservableflattenURLmonorepogethandlernested cssmkdirtypeofinternal slotagent0identifiersswfsigintdataviewgradients cssbundlingcss variablestableStreamsslicecheckcodesglobalasyncendpointfull-widthBigUint64Arrayfunction.lengthvestweaksetPromisecircularcjkjwtreact-testing-libraryshrinkwrapserversignalauthenticationpreprocessorenvironmentback-endreduxclonefetchslotreducerprefixcommand-linelastmkdirsvaluesuperstructshellaws
3.5.74

1 year ago

3.5.73

1 year ago

3.5.72

1 year ago

3.5.71

1 year ago

3.5.70

1 year ago

3.5.69

1 year ago

3.5.68

1 year ago

2.5.68

1 year ago

2.4.68

1 year ago

2.4.67

1 year ago

1.4.67

1 year ago

1.4.66

1 year ago

1.4.65

1 year ago

1.4.64

1 year ago

1.4.63

1 year ago

1.4.62

1 year ago

1.4.61

1 year ago

1.4.60

1 year ago

1.4.59

1 year ago

1.4.58

1 year ago

1.4.57

1 year ago

1.4.56

1 year ago

1.4.55

1 year ago

1.4.54

1 year ago

1.4.53

1 year ago

1.4.52

1 year ago

1.4.51

1 year ago

1.4.50

1 year ago

1.4.49

1 year ago

1.4.48

1 year ago

1.4.47

1 year ago

1.4.46

1 year ago

1.4.45

1 year ago

1.4.44

1 year ago

1.4.43

1 year ago

1.4.42

1 year ago

1.3.42

1 year ago

1.3.41

1 year ago

1.3.40

1 year ago

1.3.39

1 year ago

1.2.39

1 year ago

1.2.38

1 year ago

1.2.37

1 year ago

1.2.36

1 year ago

1.2.35

1 year ago

1.2.34

1 year ago

1.2.33

1 year ago

1.2.32

1 year ago

1.2.31

1 year ago

1.2.30

1 year ago

1.2.29

1 year ago

1.1.29

1 year ago

1.1.28

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago