Skip to content

Commit

Permalink
Enable metadata unit tests for Travis CI and Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
timvandermeij committed Sep 19, 2017
1 parent d430961 commit 2281061
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions test/unit/api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -790,9 +790,6 @@ describe('api', function() {
});
});
it('gets metadata', function(done) {
if (isNodeJS()) {
pending('Document is not supported in Node.js.');
}
var promise = doc.getMetadata();
promise.then(function(metadata) {
expect(metadata.info['Title']).toEqual('Basic API Test');
Expand Down
1 change: 1 addition & 0 deletions test/unit/clitests.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"evaluator_spec.js",
"fonts_spec.js",
"function_spec.js",
"metadata_spec.js",
"murmurhash3_spec.js",
"node_stream_spec.js",
"parser_spec.js",
Expand Down

0 comments on commit 2281061

Please sign in to comment.