Skip to content

Commit 47acb4e

Browse files
committed
Adds testing safeguard on lib
1 parent 411daf4 commit 47acb4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ addons:
1212
apt_packages:
1313
- postgresql-9.5-postgis-2.3
1414
before_script:
15-
- ls -al "$HOME/.mongodb/versions"
15+
- node -e 'require("lib/index")'
1616
- psql -c 'create database parse_server_postgres_adapter_test_database;' -U postgres
1717
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d parse_server_postgres_adapter_test_database
1818
- psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d parse_server_postgres_adapter_test_database

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as TestUtils from './TestUtils';
88
import { useExternal } from './deprecated';
99
import { getLogger } from './logger';
1010
import { PushWorker } from './Push/PushWorker';
11-
11+
require('./missing/file');
1212
// Factory function
1313
const _ParseServer = function(options) {
1414
const server = new ParseServer(options);

0 commit comments

Comments
 (0)