Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
app
Commits
064a039b
Verified
Commit
064a039b
authored
Nov 02, 2020
by
Aral Balkan
Browse files
Fix failing test (cosmetic output)
parent
a6d6f0bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/commands.js
View file @
064a039b
...
...
@@ -83,8 +83,8 @@ function manifest () {
return
_manifest
}
function
siteJS
Header
()
{
return
dehydrate
(
'
🌱
Site.js
'
)
function
siteJS
Logo
()
{
return
dehydrate
(
'
🌱
'
)
}
function
creationDateLine
()
{
...
...
@@ -132,7 +132,7 @@ test('[commands] version', t => {
const
command
=
_
(
'
version
'
)
const
actualOutput
=
outputForCommand
(
command
)
t
.
ok
(
actualOutput
.
includes
(
siteJS
Header
()),
'
version screen includes Site.js header
'
)
t
.
ok
(
actualOutput
.
includes
(
siteJS
Logo
()),
'
version screen includes Site.js header
'
)
t
.
ok
(
actualOutput
.
includes
(
creationDateLine
()),
'
version screen includes creation date line
'
)
t
.
ok
(
actualOutput
.
includes
(
binaryVersionLine
()),
'
version screen includes binary version line
'
)
t
.
ok
(
actualOutput
.
includes
(
nodeVersionLine
()),
'
version screen includes Node.js version line
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment