Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Development Environment Homework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ypurbey2
Development Environment Homework
Commits
cab787b3
Commit
cab787b3
authored
1 year ago
by
Ypurbey2
Browse files
Options
Downloads
Patches
Plain Diff
Made practice edits.
parent
55e3cd41
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
development-environment-homework/src/helloWorld.js
+1
-2
1 addition, 2 deletions
development-environment-homework/src/helloWorld.js
development-environment-homework/src/helloWorld.test.js
+1
-2
1 addition, 2 deletions
development-environment-homework/src/helloWorld.test.js
with
2 additions
and
4 deletions
development-environment-homework/src/helloWorld.js
+
1
−
2
View file @
cab787b3
export
function
helloWorld
()
{
export
function
helloWorld
()
{
return
[
return
[
'
Hello,
'
,
1
,
'
World!
'
,
];
];
}
}
This diff is collapsed.
Click to expand it.
development-environment-homework/src/helloWorld.test.js
+
1
−
2
View file @
cab787b3
...
@@ -9,8 +9,7 @@ describe('the JavaScript language', () => {
...
@@ -9,8 +9,7 @@ describe('the JavaScript language', () => {
describe
(
'
the hello-world function
'
,
()
=>
{
describe
(
'
the hello-world function
'
,
()
=>
{
test
(
'
returns the correct string
'
,
()
=>
{
test
(
'
returns the correct string
'
,
()
=>
{
expect
(
helloWorld
()).
toEqual
([
expect
(
helloWorld
()).
toEqual
([
'
Hello,
'
,
1
,
'
World!
'
,
]);
]);
});
});
});
});
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment