Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
simcaq-node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
simcaq
simcaq-node
Commits
55710fa0
There was a problem fetching the pipeline summary.
Commit
55710fa0
authored
8 years ago
by
Lucas Gabriel Lima
Browse files
Options
Downloads
Patches
Plain Diff
add gulp-mocha library and task for testing
parent
f24c3c11
No related branches found
No related tags found
2 merge requests
!10
Gulp
,
!7
Refactor enrollments route to include query building
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gulpfile.js
+12
-0
12 additions, 0 deletions
gulpfile.js
package.json
+1
-0
1 addition, 0 deletions
package.json
with
13 additions
and
0 deletions
gulpfile.js
+
12
−
0
View file @
55710fa0
var
gulp
=
require
(
'
gulp
'
);
var
gulp
=
require
(
'
gulp
'
);
var
mocha
=
require
(
'
gulp-mocha
'
);
gulp
.
task
(
'
default
'
,
function
()
{
gulp
.
task
(
'
default
'
,
function
()
{
});
});
gulp
.
task
(
'
test
'
,
function
(){
gulp
.
src
(
'
test/test.js
'
,
{
read
:
false
})
.
pipe
(
mocha
())
.
once
(
'
error
'
,
function
(){
process
.
exit
(
1
);
})
.
once
(
'
end
'
,
function
(){
process
.
exit
();
})
});
This diff is collapsed.
Click to expand it.
package.json
+
1
−
0
View file @
55710fa0
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
"
chai
"
:
"
^3.5.0
"
,
"
chai
"
:
"
^3.5.0
"
,
"
chai-http
"
:
"
^3.0.0
"
,
"
chai-http
"
:
"
^3.0.0
"
,
"
gulp
"
:
"
^3.9.1
"
,
"
gulp
"
:
"
^3.9.1
"
,
"
gulp-mocha
"
:
"
^3.0.1
"
,
"
mocha
"
:
"
^2.5.3
"
"
mocha
"
:
"
^2.5.3
"
}
}
}
}
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