FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/javascript/externs/lib/should.js at codeql-cli/v2.27.1 · github/codeql · GitHub
github
codeql
Repository navigation
Code
Issues
1k
(1k)
Pull requests
478
(478)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
javascript
/
externs
/
lib
/
should.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
112 lines (106 loc) · 2.43 KB
Breadcrumbs
codeql
/
javascript
/
externs
/
lib
/
should.js
Copy path
File metadata and controls
112 lines (106 loc) · 2.43 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*
* Copyright 2015 Semmle Ltd.
*/
/**
*
@fileoverview
A (highly incomplete) model of the should.js library.
*
@externs
*
@see
http://shouldjs.github.io/
*/
/**
*
@param
{
*
} obj
*
@returns
{
should.Assertion
}
*/
function
should
(
obj
)
{
}
/**
*
@constructor
*/
should
.
Assertion
=
function
(
)
{
}
;
should
.
Assertion
.
prototype
=
{
assert
:
function
(
)
{
}
,
fail
:
function
(
)
{
}
,
get
not
(
)
{
}
,
get
any
(
)
{
}
,
get
an
(
)
{
}
,
get
of
(
)
{
}
,
get
a
(
)
{
}
,
get
and
(
)
{
}
,
get
be
(
)
{
}
,
get
has
(
)
{
}
,
get
have
(
)
{
}
,
get
with
(
)
{
}
,
get
is
(
)
{
}
,
get
which
(
)
{
}
,
get
the
(
)
{
}
,
get
it
(
)
{
}
,
true
:
function
(
)
{
}
,
True
:
function
(
)
{
}
,
false
:
function
(
)
{
}
,
False
:
function
(
)
{
}
,
ok
:
function
(
)
{
}
,
NaN
:
function
(
)
{
}
,
Infinity
:
function
(
)
{
}
,
within
:
function
(
)
{
}
,
approximately
:
function
(
)
{
}
,
above
:
function
(
)
{
}
,
below
:
function
(
)
{
}
,
greaterThan
:
function
(
)
{
}
,
lessThan
:
function
(
)
{
}
,
eql
:
function
(
)
{
}
,
equal
:
function
(
)
{
}
,
exactly
:
function
(
)
{
}
,
Number
:
function
(
)
{
}
,
arguments
:
function
(
)
{
}
,
Arguments
:
function
(
)
{
}
,
type
:
function
(
)
{
}
,
instanceof
:
function
(
)
{
}
,
instanceOf
:
function
(
)
{
}
,
Function
:
function
(
)
{
}
,
Object
:
function
(
)
{
}
,
String
:
function
(
)
{
}
,
Array
:
function
(
)
{
}
,
Boolean
:
function
(
)
{
}
,
Error
:
function
(
)
{
}
,
null
:
function
(
)
{
}
,
Null
:
function
(
)
{
}
,
class
:
function
(
)
{
}
,
Class
:
function
(
)
{
}
,
undefined
:
function
(
)
{
}
,
Undefined
:
function
(
)
{
}
,
iterable
:
function
(
)
{
}
,
iterator
:
function
(
)
{
}
,
generator
:
function
(
)
{
}
,
startWith
:
function
(
)
{
}
,
endWith
:
function
(
)
{
}
,
propertyWithDescriptor
:
function
(
)
{
}
,
enumerable
:
function
(
)
{
}
,
enumerables
:
function
(
)
{
}
,
property
:
function
(
)
{
}
,
properties
:
function
(
)
{
}
,
length
:
function
(
)
{
}
,
lengthOf
:
function
(
)
{
}
,
ownProperty
:
function
(
)
{
}
,
hasOwnProperty
:
function
(
)
{
}
,
empty
:
function
(
)
{
}
,
keys
:
function
(
)
{
}
,
key
:
function
(
)
{
}
,
propertyByPath
:
function
(
)
{
}
,
throw
:
function
(
)
{
}
,
throwError
:
function
(
)
{
}
,
match
:
function
(
)
{
}
,
matchEach
:
function
(
)
{
}
,
matchAny
:
function
(
)
{
}
,
matchSome
:
function
(
)
{
}
,
matchEvery
:
function
(
)
{
}
,
containEql
:
function
(
)
{
}
,
containDeepOrdered
:
function
(
)
{
}
,
containDeep
:
function
(
)
{
}
}
;
/**
*
@constructor
*/
should
.
AssertionError
=
function
(
)
{
}
;
Object
.
defineProperty
(
Object
.
prototype
,
'should'
,
{
get
:
function
(
)
{
return
should
(
this
.
valueOf
(
)
||
this
)
;
}
,
enumerable
:
false
,
configurable
:
true
}
)
;
Back
|
FazBrowse Home
|
New Git URL