9.9.108 • Published 11 months ago

@devtea2026/at-ad-ipsa-adipisci v9.9.108

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

For more information or to download plugins, view the documentation.

What is Chai?

Chai is an assertion library, similar to Node's built-in assert. It makes testing much easier by giving you lots of assertions you can run against your code.

Installation

Node.js

@devtea2026/at-ad-ipsa-adipisci is available on npm. To install it, type:

$ npm install --save-dev @devtea2026/at-ad-ipsa-adipisci

Browsers

You can also use it within the browser; install via npm and use the @devtea2026/at-ad-ipsa-adipisci.js file found within the download. For example:

<script src="./node_modules/@devtea2026/at-ad-ipsa-adipisci/@devtea2026/at-ad-ipsa-adipisci.js"></script>

Usage

Import the library in your code, and then pick one of the styles you'd like to use - either assert, expect or should:

import { assert } from '@devtea2026/at-ad-ipsa-adipisci';  // Using Assert style
import { expect } from '@devtea2026/at-ad-ipsa-adipisci';  // Using Expect style
import { should } from '@devtea2026/at-ad-ipsa-adipisci';  // Using Should style

Register the @devtea2026/at-ad-ipsa-adipisci testing style globally

import '@devtea2026/at-ad-ipsa-adipisci/register-assert';  // Using Assert style
import '@devtea2026/at-ad-ipsa-adipisci/register-expect';  // Using Expect style
import '@devtea2026/at-ad-ipsa-adipisci/register-should';  // Using Should style

Import assertion styles as local variables

import { assert } from '@devtea2026/at-ad-ipsa-adipisci';  // Using Assert style
import { expect } from '@devtea2026/at-ad-ipsa-adipisci';  // Using Expect style
import { should } from '@devtea2026/at-ad-ipsa-adipisci';  // Using Should style
should();  // Modifies `Object.prototype`

import { expect, use } from '@devtea2026/at-ad-ipsa-adipisci';  // Creates local variables `expect` and `use`; useful for plugin use

Usage with Mocha

mocha spec.js --require @devtea2026/at-ad-ipsa-adipisci/register-assert.js  # Using Assert style
mocha spec.js --require @devtea2026/at-ad-ipsa-adipisci/register-expect.js  # Using Expect style
mocha spec.js --require @devtea2026/at-ad-ipsa-adipisci/register-should.js  # Using Should style

Read more about these styles in our docs.

Plugins

Chai offers a robust Plugin architecture for extending Chai's assertions and interfaces.

  • Need a plugin? View the official plugin list.
  • Want to build a plugin? Read the plugin api documentation.
  • Have a plugin and want it listed? Simply add the following keywords to your package.json:
    • @devtea2026/at-ad-ipsa-adipisci-plugin
    • browser if your plugin works in the browser as well as Node.js
    • browser-only if your plugin does not work with Node.js

Related Projects

Contributing

Thank you very much for considering to contribute!

Please make sure you follow our Code Of Conduct and we also strongly recommend reading our Contributing Guide.

Here are a few issues other contributors frequently ran into when opening pull requests:

  • Please do not commit changes to the @devtea2026/at-ad-ipsa-adipisci.js build. We do it once per release.
  • Before pushing your commits, please make sure you rebase them.

Contributors

Please see the full Contributors Graph for our list of contributors.

Core Contributors

Feel free to reach out to any of the core contributors with your questions or concerns. We will do our best to respond in a timely manner.

Jake Luer Veselin Todorov Keith Cirkel Lucas Fernandes da Costa Grant Snodgrass

optioncommand-lineinferencedayjsinternal.envcolourjsdomloggerpipewalkingrouterreadmime-dbpnpm9consolegdprform-validationfigletpluginajvsymbolrecursivesigintstylesheetminimalfindLastIndexdeepapiPromiseECMAScript 7trimLeftequalscheme-validationdeep-copyautoprefixerbusyfile systemJSONes2016libphonenumberfseventsupsignalsES2021ES2018es5util.inspectshamhotglobalshttpidlefastzodfastifyreact-testing-libraryio-tsjavascriptsameValueZeromergehashObject.assignpropertieslesscsswrapperformancemapreduceargstrimEndfileschemecss lesspackagepolyfillfast-deep-copygetPrototypeOfArray.prototype.filterwhatwgpostcssconcatconcatMapexit-codesinatra0streamES2015ECMAScript 5wafavaES6launchpromisesformerror-handlingflatMapveststdlibqueueMicrotasktermreadableiamsnsassertiondeterministiclruyamlenvironmentscss variabledomInt32Array_.extendjsES2023pathdependency managerRegExp#flagsfast-deep-clonexhres6xdgassertclass-validatorextensioncheckstringifyarktypeasciimatchesdateexecbrowserlistmacosterminalmoduleskeymkdirReflect.getPrototypeOfthroatglobalcmdserializationpatchfast-clonequeryextendlinewrapes2018less.jsbootstrap lessmrucode pointses8toolkitflagstraverseflattenbcryptaccessortypesyupa11yspeedprivate dataspinnersparsergradients css3tc39nopepackagesstringCSSStyleDeclarationawesomesaucecopyinvariantsharedarraybufferutilitiesmake dirdescriptorsescapejsxiepackage managerconnectgroupnamesvaluehardlinksES5nativeunicodegenericshasOwnPropertyaccessibilityiteratorcreatetypeofbyteOffsetuninstallequalitynodejsObject.isendpointxdg-openstructuredCloneshimruntimegroupBytoucharraysymlinksMicrosoftquerystringtrimRightserializerECMAScript 2023fastcopyhigher-orderObject.getPrototypeOfsetImmediateastsortedfind-upasyncslotshrinkwrapnumberfunctionalObject.fromEntriesemitlimitedtypescriptsequencestyleschildswfArrayBuffer#slicecolorsdescriptorinspectnegativermfolderfluxsearchstartlistenersflates-abstractclonestreams2livekeyswritableviewformsreact-hookscallboundjsonpathowncodesmatchmetadatamoduledom-testing-libraryirqes2015postcss-plugintsdataglobbeanstalkrestvpcidentifiersconfigurablepushbatchthrottlecharacter256callbackentriesInt16ArrayRxstoragegatewayprocessparentstypeInt8Arrayloggingparsingelbstyled-componentscollectioncompareelmarraybufferregexintrinsicsortwhichttytypedworkerhttpscallbindCSSshebangBigInt64Arraywordwrapenvironmentwindowserrorsqsimmerec2StyleSheetAsyncIteratorimportstablecommanderomitlook-upcjkECMAScript 2021es2017eventsReactiveExtensionsUnderscoreiterationforEachArray.prototype.findLasttrimelectrongetOwnPropertyDescriptormovedebugvalidwordbreakinstalllookbluebirdnpmroute53ansicloudtrailES8ESnextspinnereswalkelasticache__proto__eslintlockfileremovecloudformationfast-copylanguageHyBiworkfloweast-asian-widthfslinkartserializeshelldirdefinePropertyString.prototype.matchAllIteratortextstyleguidebannervaluesdeepcopyECMAScript 2015statergbpropertycalltapcompilersuperstructcoerciblecloudwatchdynamodbhookformreducerreadablestreammapbytematchAllairbnbhookseslintpluginWeakSetES7bootstrap cssweakmapencryptiontimestreamsreal-timeSetdescriptionloadbalancingWebSocketjestprotobufsideTypedArrayloadingpersistentArray.prototype.containsbyteLengthenvcall-bindoncechineselessprogressfindLastrm -frinterruptsMapcircularsliceperformantStreamlimitFunction.prototype.namesomeconfigbindECMAScript 2017editorUint8ClampedArraytslibjoicharactersTypeBoxbufferspasswordredux-toolkitmimetypesimmutablebundlersyntaxerrorprivate-0WebSocketsextrabundlingtoSortedparenttypedarraygettersimpledbutildropeslintconfigrm -rfECMAScript 3requiredirectorycachewidthlastweaksettapereplayECMAScript 6css nestingexecutableutilityECMAScript 2022ReactiveXchromiumoptimizerlinuxdotenvcolumnuuidnested cssreact-hook-formajaxRegExp.prototype.flagsmkdirsfetchinstallerpreserve-symlinkses-shim APItestingcontainscall-boundguidlazyincludesrfc4122eventEmitterURLvarsES2022breakdependenciesregular expressionsjapanesetyped arraynegative zeroclassnamesrapidhelpersWeakMapemrBigUint64ArraybrowserreusearrayssharedjwtprettywatchingexpressiontaskObject.entriesfull-widthwatcherdifffromUint8ArrayimportexportcoresetrandomArraytrimStartsymlinkpyyamlvalidationbddreactdefineECMAScript 2020settingsES3offsetjsdiffes-shimsArray.prototype.flatrmdirdatastructuresesrestfulstarterauthenticationisecmascriptdataviewflagvisualprefixArray.prototype.flatMapFloat64ArraywebStreamshasOwnnameUint32ArraylengthisConcatSpreadableexeECMAScript 2018core-jswgetObject.valuesratelimitfullassigntostringtagredactpreprocessorRxJSlogschemacommandkarma
9.9.108

11 months ago

9.9.107

11 months ago

9.9.106

11 months ago

9.8.106

11 months ago

9.8.105

11 months ago

9.8.104

11 months ago

9.8.103

11 months ago

9.8.102

11 months ago

9.8.86

12 months ago

9.8.88

11 months ago

9.8.87

12 months ago

9.8.89

11 months ago

8.7.78

12 months ago

8.7.79

12 months ago

7.6.51

1 year ago

7.6.50

1 year ago

7.6.55

1 year ago

3.5.29

1 year ago

7.6.54

1 year ago

7.6.53

1 year ago

7.6.52

1 year ago

9.8.97

11 months ago

7.6.59

1 year ago

9.8.96

11 months ago

7.6.58

1 year ago

9.8.99

11 months ago

7.6.57

1 year ago

9.8.98

11 months ago

7.6.56

1 year ago

9.8.91

11 months ago

9.8.90

11 months ago

5.5.36

1 year ago

9.8.93

11 months ago

9.8.92

11 months ago

9.8.95

11 months ago

9.8.94

11 months ago

8.6.78

12 months ago

3.4.25

1 year ago

8.6.77

12 months ago

3.4.26

1 year ago

8.6.76

12 months ago

3.4.27

1 year ago

8.6.75

12 months ago

3.4.28

1 year ago

8.6.74

12 months ago

3.4.29

1 year ago

8.6.73

12 months ago

8.6.72

12 months ago

8.6.71

12 months ago

8.6.70

1 year ago

7.6.62

1 year ago

7.6.61

1 year ago

7.6.60

1 year ago

6.5.37

1 year ago

6.5.36

1 year ago

6.5.39

1 year ago

6.5.38

1 year ago

3.4.24

1 year ago

9.8.101

11 months ago

9.8.100

11 months ago

4.5.36

1 year ago

8.6.67

1 year ago

8.6.66

1 year ago

8.6.65

1 year ago

8.6.64

1 year ago

8.8.86

12 months ago

8.6.63

1 year ago

8.6.62

1 year ago

8.8.84

12 months ago

8.8.85

12 months ago

7.5.41

1 year ago

7.5.42

1 year ago

7.5.43

1 year ago

7.5.48

1 year ago

7.5.49

1 year ago

7.5.44

1 year ago

6.5.40

1 year ago

7.5.45

1 year ago

7.5.46

1 year ago

7.5.47

1 year ago

6.5.41

1 year ago

8.6.69

1 year ago

8.6.68

1 year ago

3.5.36

1 year ago

3.5.35

1 year ago

3.5.34

1 year ago

3.5.33

1 year ago

3.3.16

1 year ago

3.5.32

1 year ago

3.3.17

1 year ago

3.5.31

1 year ago

3.3.18

1 year ago

8.7.83

12 months ago

3.5.30

1 year ago

3.3.19

1 year ago

8.7.84

12 months ago

8.7.81

12 months ago

8.7.82

12 months ago

8.7.80

12 months ago

7.5.50

1 year ago

3.3.24

1 year ago

3.3.20

1 year ago

3.3.21

1 year ago

3.3.22

1 year ago

3.3.23

1 year ago

3.3.15

1 year ago

3.3.14

1 year ago

3.2.14

1 year ago

2.2.13

1 year ago

2.2.14

1 year ago

2.2.12

1 year ago

2.2.11

1 year ago

2.2.10

1 year ago

2.2.9

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.6

1 year ago

2.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.2

1 year ago