18.1.1 • Published 11 months ago
@wixc3/mostly-equal v18.1.1
mostly-equal package
Adds chai matches for partial equality of JSONs
Example
import * as chai from 'chai';
import { expect } from 'chai';
import { mostlyEqlChaiPlugin, notImportant } from '@wixc3/mostly-equal';
chai.use(mostlyEqlChaiPlugin);
expect({ a: 1 }).to.mostlyEqual({
a: 1,
b: notImportant,
});Functions
Interfaces
| Interface | Description |
|---|---|
| ExpectValue | |
| ExpectValues | |
| ExpectValuesInfo | |
| Formatter | |
| MostlyEqualOptions | |
| PseudoElement |
Variables
| Variable | Description |
|---|---|
| defined | Field must be defined (null is considered define) |
| expectValuesSymb | |
| expectValueSymb | |
| mostlyEqlChaiPlugin | |
| notImportant | |
| thumbsUp |
Type Aliases
| Type Alias | Description |
|---|---|
| AllowMarkers | |
| AllowMarkersObj | |
| ErrorOrText | |
| ErrorOrTextOrExpect | |
| ExpandedValues | |
| ExpectMultiMatcher | |
| ExpectSingleMatcher | |
| LookupPath | |
| MarkerSymbol | |
| PseudoElementConstructor | |
| UnknownObjectRecord |
18.1.1
11 months ago
18.0.0
12 months ago
17.1.1
2 years ago
17.0.0
2 years ago
16.3.0
2 years ago
16.2.1
2 years ago
16.2.0
2 years ago
16.1.3
2 years ago
16.1.0
2 years ago
16.0.0
2 years ago
15.1.1
2 years ago
15.1.0
2 years ago
15.0.0
2 years ago
14.0.0
2 years ago
14.1.0
2 years ago
13.4.0
2 years ago
13.3.2
2 years ago
13.2.0
2 years ago
13.3.0
2 years ago
13.0.0
2 years ago
13.1.0
2 years ago
13.0.1
2 years ago
12.0.3
2 years ago
12.1.0
2 years ago
12.0.1
2 years ago
11.1.1
2 years ago
11.1.0
2 years ago
11.0.0
2 years ago
10.0.0
2 years ago
8.2.1
3 years ago
9.0.0
2 years ago
8.0.0
3 years ago
5.2.4
3 years ago
3.0.4
3 years ago
3.0.3
3 years ago
3.0.2
3 years ago
3.0.7
3 years ago
5.0.0
3 years ago
3.0.6
3 years ago
3.0.5
3 years ago
6.0.0
3 years ago
3.0.0
3 years ago
2.2.0
3 years ago
2.0.2
3 years ago
4.0.0
3 years ago
7.0.0
3 years ago
7.0.3
3 years ago
2.0.1
3 years ago
2.1.0
3 years ago
2.0.0
3 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago