FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql-action/src/tools-features.test.ts at default-setup-testing · github/codeql-action · GitHub
github
codeql-action
Repository navigation
Code
Issues
165
(165)
Pull requests
44
(44)
Actions
Security and quality
2
(2)
Insights
Expand file tree
Breadcrumbs
codeql-action
/
src
/
tools-features.test.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (13 loc) · 498 Bytes
Breadcrumbs
codeql-action
/
src
/
tools-features.test.ts
Copy path
File metadata and controls
18 lines (13 loc) · 498 Bytes
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
import
test
from
"ava"
;
import
{
makeVersionInfo
}
from
"./testing-utils"
;
import
{
ToolsFeature
,
isSupportedToolsFeature
}
from
"./tools-features"
;
test
(
"isSupportedToolsFeature"
,
async
(
t
)
=>
{
const
versionInfo
=
makeVersionInfo
(
"1.0.0"
)
;
t
.
false
(
isSupportedToolsFeature
(
versionInfo
,
ToolsFeature
.
BundleSupportsOverlay
)
,
)
;
versionInfo
.
features
=
{
bundleSupportsOverlay
:
true
}
;
t
.
true
(
isSupportedToolsFeature
(
versionInfo
,
ToolsFeature
.
BundleSupportsOverlay
)
,
)
;
}
)
;
Back
|
FazBrowse Home
|
New Git URL