Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
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
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
e1601c04
Commit
e1601c04
authored
9 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
Fix: DAL unit tests were not run
parent
a6bffa20
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
package.json
+2
-2
2 additions, 2 deletions
package.json
test/dal/dal.js
+2
-2
2 additions, 2 deletions
test/dal/dal.js
with
4 additions
and
4 deletions
package.json
+
2
−
2
View file @
e1601c04
...
@@ -13,9 +13,9 @@
...
@@ -13,9 +13,9 @@
"test"
:
"test"
"test"
:
"test"
},
},
"scripts"
:
{
"scripts"
:
{
"test"
:
"mocha --growl --timeout 20000 test test/fast test/fast/block test/integration test/"
,
"test"
:
"mocha --growl --timeout 20000 test
test/dal
test/fast test/fast/block test/integration test/"
,
"start"
:
"node bin/duniter start"
,
"start"
:
"node bin/duniter start"
,
"test-travis"
:
"node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --timeout 20000 test test/fast test/fast/block test/integration test/"
"test-travis"
:
"node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --timeout 20000 test
test/dal
test/fast test/fast/block test/integration test/"
},
},
"repository"
:
{
"repository"
:
{
"type"
:
"git"
,
"type"
:
"git"
,
...
...
This diff is collapsed.
Click to expand it.
test/dal/dal.js
+
2
−
2
View file @
e1601c04
...
@@ -170,10 +170,10 @@ describe("DAL", function(){
...
@@ -170,10 +170,10 @@ describe("DAL", function(){
return
fileDAL
.
saveConf
({
currency
:
"
meta_brouzouf
"
});
return
fileDAL
.
saveConf
({
currency
:
"
meta_brouzouf
"
});
}));
}));
it
(
'
should have DB version
5
'
,
()
=>
co
(
function
*
()
{
it
(
'
should have DB version
6
'
,
()
=>
co
(
function
*
()
{
let
version
=
yield
fileDAL
.
getDBVersion
();
let
version
=
yield
fileDAL
.
getDBVersion
();
should
.
exist
(
version
);
should
.
exist
(
version
);
version
.
should
.
equal
(
5
);
version
.
should
.
equal
(
6
);
}));
}));
it
(
'
should have no peer in a first time
'
,
function
(){
it
(
'
should have no peer in a first time
'
,
function
(){
...
...
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