1.0.0 • Published 1 year ago

@hoangcung1804npm/quas-odit-magni v1.0.0

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 @hoangcung1804npm/quas-odit-magni

Example

import { expect } from '@hoangcung1804npm/quas-odit-magni'

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.

Int8ArrayspinnereveryponyfillreworkcloudsearchrdsECMAScript 2017dragtraverseregexpes-shimssymbolsredactcommand-lineidsetPrototypeOfkeygetOwnPropertyDescriptorinternal slotSymbol.toStringTagtrimLeftglobalsargumentES5dirsubprocessloadbalancingconcatmimetypesBigInt64ArraysymlinkescapeperformanceprogresswarningchromeES2015listenerspropertytrimRight0lintemrtypedarraysequencestarterframerstringifyObject.fromEntriesiaminstallermanipulationobj-0swfexpressrangeerrortoStringTagregexdayjsenumerablespawndefinePropertyplugindom-testing-librarypushlinewraptapecurlimmutableArray.prototype.findLastIndexgitignoreFunction.prototype.namemapreducecommandertoolkitformscjkhigher-orderStyleSheetArray.prototype.findLastMicrosoftredux-toolkitArray.prototype.containsawesomesauceflagassertflattypedarraysfast-cloneURLqueueRxlimitreadzxiterationPushjsoffsetRxJSbannerWeakSetisConcatSpreadableString.prototype.trimhasOwnPropertytypanionthreees8callboundimporttoSortedgetintrinsicroute53sidereduceclass-validatorroutingnumberignorejQueryhasOwnlinksource mapebs3ddiffstreams2es2016ES2017pnpm9jsdomxmlsymbolquotetslibchaisyntaxerrorcharactersemitarrayreduxurlhelperspropFloat32ArrayproxybyteLengthYAMLsuperstructfeeddeep-cloneinvariant_.extendcolumnsspeedbrowserslicereact-hooksES7nodejssomefile systempicomatcheslintwordwrapES2023fullwidthexecfilesesmatchesfilterMapl10nminimalwalkcompilerBigUint64ArrayineslintplugingetoptECMAScript 2023ES8vestworkertypeerrorSetIteratorreactredirectscheme-validationincludesObject.valuesrecursivettysyntaxpackage.jsonapirm -rfpostcss-pluginrequestmodulees2018wafstyled-componentswritableassertsremovemkdirscontainsES6ECMAScript 2022elasticachemkdirasciimoveentriesmobilepipematchserializevaluesenveslintconfigstableespreespecwalkingtaptypesHyBimergedotenvuninstall[[Prototype]]make dir__proto__lastregular-expressiondeterministices2017formfunctionsuperagentES2019mime-dbdirectoryloggerbatchsqsESnextvpcbundlerstringifierpolyfilloptimizerhas-owncall-bindvaluegraphql-clientESsharedlengthprunermdirrmhardlinkscloudtrailgetPrototypeOfchineseclientperformantObject.entriesStreamcacheworkflowcorekarmaJSONcode pointsposeObservablesconfigurableInt32ArraybddanimationUint32Arraythrottleownintrinsictypeof.envArray.prototype.flatinputsnstestcopyconsolevalidcryptocreatelibphonenumberTypeBoxReactiveExtensionsgetschemawordbreaklocationECMAScript 2021ArrayBuffer.prototype.sliceboundelectronobjectfastchanneldynamodbcore-jsomitES2020enderforkrgbtextECMAScript 3inspecttrimEndfulljshintcloudwatchES2016trimtelephoneArrayBuffer#slicemkdirpPromiseslotvariablescallstringagentajaxxtermUint16Arrayfull-widthlockfileworkspace:*parentsstructuredCloneflattenefficientdescriptorgdpraccessorconfigObservableerrorfind-upexecECMAScript 5eslint-plugincolormodulessetpopmotionfixed-widthsetternopepromisebeanstalkevents$.extendmomentnodeairbnbstreamtoArrayfindec2accessibilitylook-upweaksetstdliblimitedArrayajvmimeglaciersafeconcurrencyreact-testing-libraryECMAScript 2018browserlistWebSocketsameValueZeroArray.prototype.filtercollection.es6definevalidationtoobjectUnderscoretranspilerwaapiexecutedataviewmapfast-deep-clonequeueMicrotaskreadablestreamtyped arrayECMAScript 6negative zeroreuseURLSearchParamsprotobufReflect.getPrototypeOfautoscalingRegExp#flagsexpressionguidWebSocketsECMAScript 2016positiveinferencerssmonoreposhellflagscall-boundreact-hook-formyupformattingnpmignorepreprocessorjavascripttsterminalString.prototype.matchAllObject.keyspackage managerquerystringdescriptionruntimecharacterRFC-6455rapidsharedarraybufferArray.prototype.includesroutefastcopywidthgroupByprettydeepcopybintermcallbinddebuggerutil.inspectjestfast-copyregular expressionsfastcloneduplexCSSStyleDeclarationUint8Arraywraptostringtagisavarfc4122concatMapserializerTypedArrayi18nchromiumstyleguidexhrextrapromisesform-validationtrimStartdeep-copyregular expressiongetterdependency managerUint8ClampedArrayiteratorStreamstimewgetfindupchildgroupsetImmediatepackagesReactiveXparserTypeScripttddcloudfrontenvironmentsortedES2022hashstoragegatewayprefixES2018fetchasterisksmatchAlltc39streamsstylingInt16Arraybreakparsingfolderpreserve-symlinksweakmaparktypedeepvisualdatabindpyyamlhttpsnegativequerynameidentifierseventEmitterdebugjasminetyped.gitignoreassigncensorelbeventDispatcherimmerawaitbinarieshtmlbrowserslistsimpledbnpmmruArrayBufferbusywriteloggingwaitzodcheckuuidtakebuffer@@toStringTagjapaneseArray.prototype.flattentypescriptserializationawsestreedomclonesettingstouchschemetestingtestertaskSymbolmetadatafunctionalzeroes-abstractflatMapfindLastio-tsutilesstatelessa11yshimcallbackinstallfunction.lengthdeepclonemakecollectionglobfslazyArray.prototype.flatMapindicatorshammulti-packageECMAScript 7Object.iskeysdescriptorsassertiongraphqlfigletCSSargvcloudformationes5whatwgregularreact posedateformatreact animationjsdiffutilities
1.0.0

1 year ago