Skip to content
Snippets Groups Projects
Commit e1601c04 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: DAL unit tests were not run

parent a6bffa20
No related branches found
No related tags found
No related merge requests found
...@@ -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",
......
...@@ -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(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment