Skip to content

Commit

Permalink
[travis] fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Oct 25, 2018
1 parent 209c507 commit 2170e01
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.18.11
* [travis] fix tests
* Added license information for contributions

## v1.18.10
* Add pause after completing google drive export

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medic-conf",
"version": "1.18.10",
"version": "1.18.11",
"description": "Configure Medic Mobile deployments",
"main": "index.js",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion test/nools/lib.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ const jsToString = require('../../src/lib/js-to-string');
const parseJs = require('../../src/lib/simple-js-parser');

const TEST_DATE = 1431143098575;
const TEST_DAY = new Date(1431122400000);
// make the tests work in any timezone. TODO it's not clear if this is a hack,
// or actually correct. see https://github.com/medic/medic-webapp/issues/4928
const TEST_DAY = new Date(TEST_DATE);
TEST_DAY.setHours(0, 0, 0, 0);

describe('nools lib', function() {
let idCounter;
Expand Down

0 comments on commit 2170e01

Please sign in to comment.