UNPKG
earljs
Version:
canary (0.3.0-canary.20230327T182224)
latest (0.2.3)
0.3.0-canary.20230327T182224
0.3.0-canary.20230323T174207
0.3.0-canary.20230323T142857
0.3.0-canary.20230323T082220
0.3.0-canary.20230322T170056
0.3.0-canary.20230322T131805
0.3.0-canary.20230322T124207
0.3.0-canary.20230322T112629
0.3.0-canary.20230321T152525
0.3.0-canary.20230320T184455
0.3.0-canary.20230320T154646
0.3.0-canary.20230320T134520
0.3.0-canary.20230320T085423
0.3.0-canary.20230320T081724
0.3.0-canary.20230320T080120
0.2.3
0.2.2
0.2.1
0.2.0
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Ergonomic, modern and type-safe assertion library
github.com/earl-js/earl
earl-js/earl
earljs
/
dist
/
Modifiers.d.ts
14 lines
(13 loc)
•
312 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
type
{
Expectation
}
from
'./Expectation'
;
export
interface
Modifiers
<T> {
/** * Inverts the behaviour of the validator that follows. * *
@example
* ```ts * expect(3).toEqual(4) // ❌ * expect(3).not.toEqual(4) // ✅ * ``` */
get
not
():
Expectation
<T>; }